Resize without preserving aspect ratio in Magick++
Posted: 2008-03-20T22:32:35-07:00
Hi,
I've tried Image::sample() and Image::resize() images to a smaller size by specifying geometries like "1440x720!" or just "1440x720" ) and I very often get a pixel or two shaved off the resulting height or width ( but never both ) of the resulting image. What is the proper way to do this?
As always, thanks!
-- Bob
I've tried Image::sample() and Image::resize() images to a smaller size by specifying geometries like "1440x720!" or just "1440x720" ) and I very often get a pixel or two shaved off the resulting height or width ( but never both ) of the resulting image. What is the proper way to do this?
As always, thanks!
-- Bob