Unable to open compressed MIFF with multiple images

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rodlie
Posts: 23
Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152

Unable to open compressed MIFF with multiple images

Post by rodlie »

Hi,

I'm unable to open MIFF with multiple images that is compressed with bzip.

Code: Select all

convert rose: logo: test.miff
test.miff[0] MIFF 70x46 70x46+0+0 8-bit TrueColor sRGB 318423B 0.010u 0:00.000
test.miff[1] MIFF 640x480 640x480+0+0 8-bit Palette sRGB 256c 318423B 0.010u 0:00.000
Works fine, but when I:

Code: Select all

convert rose: logo: -compress bzip test.miff
IM is now unable to read the image, in Magick++ I get:
unable to read image data `test.miff' @ error/miff.c/ReadMIFFImage/1479
ImageMagick 6.9.10-16 Q16HDRI Linux.
rodlie
Posts: 23
Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152

Re: Unable to open compressed MIFF with multiple images

Post by rodlie »

Zip and LZMA works, probably just a minor issue(?).
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unable to open compressed MIFF with multiple images

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Post Reply