Magick++ image::resize() - not working?
Posted: 2007-01-21T03:20:40-07:00
I do aplogize if I do anything wrong. The same situation as with Magick++ Image::Extent() is with Image::Resize(). After applying Image::Resize() to my loaded document, and save it back, the image contains in original size. This is an example I did:
Magick::Image imageMyImage;
imageMyImage.read("F-16.jpg");
Magick::Geometry geometryExtend(1024, 2000, 0, 0);
imageMyImage.resize(geometryExtend);
imageMyImage.write("test.jpg");
"F-16.jpg" is a standard image being 1024x768 pixels large. After saving it back, it contained the original size 1024x768.
Version of Image Magick: ImageMagick-6.3.2.0-Windows.
Thank you,
Magick::Image imageMyImage;
imageMyImage.read("F-16.jpg");
Magick::Geometry geometryExtend(1024, 2000, 0, 0);
imageMyImage.resize(geometryExtend);
imageMyImage.write("test.jpg");
"F-16.jpg" is a standard image being 1024x768 pixels large. After saving it back, it contained the original size 1024x768.
Version of Image Magick: ImageMagick-6.3.2.0-Windows.
Thank you,