'improper image header' in identify of eps

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
berschi
Posts: 2
Joined: 2016-11-23T06:12:54-07:00
Authentication code: 1151

'improper image header' in identify of eps

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 'improper image header' in identify of eps

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 @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
berschi
Posts: 2
Joined: 2016-11-23T06:12:54-07:00
Authentication code: 1151

Re: 'improper image header' in identify of eps

Post by berschi »

I have verified that ImageMagick-7.0.3-8~beta20161124 solved the problem.
Many thanks for fixing the issue so fast!
Post Reply