EPS File handlling error

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
lowkey
Posts: 3
Joined: 2017-12-04T10:41:55-07:00
Authentication code: 1152

EPS File handlling error

Post by lowkey »

Dear team,

I am trying to create jpeg file from a eps image. The file fails to open with an error.

To download, https://github.com/l-dandelion/images/b ... S/test.eps

I have Mac High Sierra 10.13.1, ImageMagick 7.0.7-13 Q16, which displays this error after these commands:

Command:
convert test.eps -resize 800x800 tmp.jpg

Error:
convert: insufficient image data in file `test.eps' @ error/ept.c/ReadEPTImage/200.
convert: no images defined `tmp.jpg' @ error/convert.c/ConvertImageCommand/3275.

Is it possible to fix? Thank you for any help!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS File handlling error

Post by fmw42 »

This works for me in IM 7.0.7.13 Q16 Mac OSX Sierra.

Code: Select all

magick EPS:test.eps test.jpg
lowkey
Posts: 3
Joined: 2017-12-04T10:41:55-07:00
Authentication code: 1152

Re: EPS File handlling error

Post by lowkey »

Thanks,it works.
But I don't know Why sometimes it works without 'EPS:' and somethimes it doesn't.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS File handlling error

Post by fmw42 »

I don't know either. It is possible that the header in the EPS is misleading or missing some tag and that Ghostscript needs further information to tell it that it is EPS.
Post Reply