Page 1 of 1

'improper image header' in identify of eps

Posted: 2016-11-23T06:59:04-07:00
by berschi
Using identify on an eps image that has been created by AutoCAD leads to the following result:

Code: Select all

c:\dev-tools\ImageMagick-7.0.3-Q16\identify "82 303 00.eps"
identify: improper image header `82 303 00.eps' @ error/ept.c/ReadEPTImage/218.

identify --version
Version: ImageMagick 7.0.3-7 Q16 x64 2016-11-15 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
The same request works with version 6.6.3:

Code: Select all

c:\dev-tools\ImageMagick-6.6.3-Q16\identify.exe "82 303 00.eps"
82 303 00.eps EPT 122x122 122x122+0+0 16-bit DirectClass 3.75KB 0.000u 0:00.001

c:\dev-tools\ImageMagick-6.6.3-Q16\identify.exe -version
Version: ImageMagick 6.6.3-9 2010-08-22 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
As this worked in a previous version, I assume that this is a bug.

Download-Link to the eps: https://www.dropbox.com/s/j153epcyqoba7 ... 0.eps?dl=0

Thanks!

Re: 'improper image header' in identify of eps

Posted: 2016-11-23T08:27:56-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 @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.

Re: 'improper image header' in identify of eps

Posted: 2016-11-25T08:50:30-07:00
by berschi
I have verified that ImageMagick-7.0.3-8~beta20161124 solved the problem.
Many thanks for fixing the issue so fast!