I have a progressive/interlaced JPEG that I cut at half the file in order to play with partial images. So, with
I don't have any problem, I can see the pixelated JPEG. However, when I try to open it with Magick++ I get a WarningCorruptImage (normal, I can see in the terminal that display
catch the same).
Then, I try to get the partially rendered image with
Code: Select all
Magick::PixelPacket *pixels = image.getPixels(0, 0, width, height);
in my C++ code, but there pixels
is a null pointer. So, how can I do like the display
utility and get the pixels of the "blurry" image ?