Page 1 of 1

convert eps to png, edge is missing, why?

Posted: 2012-10-02T10:07:00-07:00
by wtcipher
Hi, I have a question about converting eps files to png format. I used command
convert -rotate -90 -flatten -density 300 image01.eps image01.png. The resulting png file looks OK, but the right-most edges (about 5% of the whole length of the picture) is missing. I cannot attach image here, so if anyone has a clue about how to deal with it, or is interested in my case, please email me back at wtcipher@gmail.com, I can send you the original eps files and my converted png files. Thanks!

Re: convert eps to png, edge is missing, why?

Posted: 2012-10-02T15:27:20-07:00
by fmw42
try

convert -density 300 image01.eps -rotate -90 -flatten +repage image01.png

Re: convert eps to png, edge is missing, why?

Posted: 2012-10-02T15:39:31-07:00
by wtcipher
fmw42 wrote:try

convert -density 300 image01.eps -rotate -90 -flatten +repage image01.png
Hi, thank you very much for your help. But, unfortunately, this still doesn't work. I have no idea of how to put figure here, so I cannot show you the results. Do you mind send me your email address? My email address is wtcipher@gmail.com.

Re: convert eps to png, edge is missing, why?

Posted: 2012-10-02T16:02:58-07:00
by fmw42
wtcipher wrote:
fmw42 wrote:try

convert -density 300 image01.eps -rotate -90 -flatten +repage image01.png
Hi, thank you very much for your help. But, unfortunately, this still doesn't work. I have no idea of how to put figure here, so I cannot show you the results. Do you mind send me your email address? My email address is wtcipher@gmail.com.
Post your input an output image to some free image hosting server. Then put a link here to those images.

What version of IM are you using, what platform and what version of ghostscript?