display-im6.q16: unexpected end-of-file on miff files
Posted: 2017-11-23T12:29:55-07:00
Conversion to miff fails on some images, such as this one: https://ufile.io/2v40w
This works fine:
whereas this fails:
The error is:
Even if the image is first converted to a PNG, the error still results when attempting to convert to miff:
The error is image-specific, as it does not occur on other images.
System details:
debian 9.2
linux 4.9.0-4-amd64
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
Thanks for looking into this.
This works fine:
Code: Select all
convert a.tif -depth 8 -colorspace gray PNG:- | display -
Code: Select all
convert a.tif -depth 8 -colorspace gray miff:- | display -
Code: Select all
display-im6.q16: unexpected end-of-file `/tmp/magick-18299r_gUYwVHKpo': No such file or directory @ error/miff.c/ReadMIFFImage/1621.
Code: Select all
convert a.tif -depth 8 -colorspace gray PNG:- | convert - miff:- | display -
System details:
debian 9.2
linux 4.9.0-4-amd64
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
Thanks for looking into this.