Page 1 of 1

Unable to open compressed MIFF with multiple images

Posted: 2018-12-16T12:14:34-07:00
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.

Re: Unable to open compressed MIFF with multiple images

Posted: 2018-12-16T12:39:32-07:00
by rodlie
Zip and LZMA works, probably just a minor issue(?).

Re: Unable to open compressed MIFF with multiple images

Posted: 2018-12-16T15:25:07-07:00
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.