I saw a few solutions on line which used ghostview to first output a jpeg and then 'mogrify' to cut down the hunormous result to something useful. It turns out you can just do this:
convert molecule.ps -trim molecule.png
This creates a png from the ps file. Blimey! Really simple!
The -trim tag is a great addition as well, since a direct conversion results in a lot of extra whitespace.
No comments:
Post a Comment