Page 1 of 1

EPS File handlling error

Posted: 2017-12-04T11:20:57-07:00
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!

Re: EPS File handlling error

Posted: 2017-12-04T12:04:38-07:00
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

Re: EPS File handlling error

Posted: 2017-12-04T21:17:14-07:00
by lowkey
Thanks,it works.
But I don't know Why sometimes it works without 'EPS:' and somethimes it doesn't.

Re: EPS File handlling error

Posted: 2017-12-04T23:13:28-07:00
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.