By some reason, the version of Imagemagick I have in my workstation (6.4.3) sets the background to transparent when I convert EPS files to PNG format (for example the EPS files from GMT or gnuplot).
Although it's in general a desirable feature, sometimes you just want a plain white background. In order to get it, I have found a solution (there must be many others, but this one just works for me), which consists in adding this options:
convert -layers flatten figure.eps figure.png
0 Comments:
Post a Comment