Re: how can get ride of too big white space in ps file

From: daryl herzmann <akrherz_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 16 2010 - 07:48:33 MDT

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