Page 1 of 1

EPS with black border not converted correctly

Posted: 2017-07-13T11:02:35-07:00
by dragondgold
I'm converting some EPS files to png with the following command:

Code: Select all

magick convert drawing.eps -background white -alpha Remove out.png
This is the EPS file opened in illustrator:

Image

As you can see, there is a black border with white space after it. This is the PNG image I'm getting from Image Magick:

Image

The black border is there but only the white space on the right is being kept, the rest is removed, how can I make Image Magick to keep all the white space?

I'm using ImageMagick 7.0.6-0 Q8 x64 2017-06-11 on Windows 10 64bit
EPS file: https://1drv.ms/u/s!AiLvi08ZlJGciftCImLYlmrWjPjpKQ

Re: EPS with black border not converted correctly

Posted: 2017-07-13T11:14:26-07:00
by snibgo
According to Adobe ImageReady CS2, there is a white margin on the right but not elsewhere.

Re: EPS with black border not converted correctly

Posted: 2017-07-13T11:14:58-07:00
by fmw42
I do not think this is an Imagemagick issue. I see the same thin black border using Mac Preview and MS Word. In any case, Imagemagick uses Ghostscript to read EPS, PS and PDF files. So at best it is an issue with Ghostscript.

Re: EPS with black border not converted correctly

Posted: 2017-07-13T12:55:30-07:00
by dragondgold
Thank you, you are right, this is not a Ghostscript or Image Magick issue, the issue is how Illustrator is exporting the EPS :)