convert eps to png, edge is missing, why?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wtcipher
Posts: 2
Joined: 2012-10-02T09:58:32-07:00
Authentication code: 67789

convert eps to png, edge is missing, why?

Post 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!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

try

convert -density 300 image01.eps -rotate -90 -flatten +repage image01.png
wtcipher
Posts: 2
Joined: 2012-10-02T09:58:32-07:00
Authentication code: 67789

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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?
Post Reply