On Thu, 16 Sep 2010, Xueli Wang wrote:
> Hello everyone,
>
> I'm a new user of ncl package. I produced a few ps files with ncl and I
> want to put these files on to a website. First I used convert to convert
> it into gif file. The big white space also appears in the gif file.
>
> Does any one know how to get rid of the white spaces?
Hi,
You can use the -trim option. Here is my convert command I always use to
go from PS to PNG:
convert -trim -border 5 -bordercolor '#fff'-density 120 -depth 8 +repage
I use -border to add a 5 pixel white border around the image.
daryl
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 16 06:49:01 2010
This archive was generated by hypermail 2.1.8 : Thu Sep 16 2010 - 11:05:24 MDT