Magick++ Resize Image
Posted: 2011-02-04T18:14:13-07:00
Hi there,
I hope someone can help me.
I am using the Magick++ API and want to resize a 1920x1080 image to 720x480. I can do this with the command line no problem, but can't find a way to achieve this with Magick++. My images keep coming out as 720 x 405.
I have tried :
Geometry newSize = Geometry(720, 480);
background.resize(newSize);
Geometry newSize = Geometry(720, 480);
background.zoom(newSize);
Thanks for your time,
Jim
I hope someone can help me.
I am using the Magick++ API and want to resize a 1920x1080 image to 720x480. I can do this with the command line no problem, but can't find a way to achieve this with Magick++. My images keep coming out as 720 x 405.
I have tried :
Geometry newSize = Geometry(720, 480);
background.resize(newSize);
Geometry newSize = Geometry(720, 480);
background.zoom(newSize);
Thanks for your time,
Jim