Re: postscript file conversion problem

From: Verica Savic-Jovcic <verica_at_nyahnyahspammersnyahnyah>
Date: Wed, 8 Nov 2006 15:27:56 -0800

Hi Cathy,

I usually make .epsi figure in NCL, then do "eps2eps fig.epsi
fig.eps" and then use "convert" to change the format to either .pdf
or .gif or .jpg. That way, the white space is taken care of and
figures are quite clear.

Good luck,
Verica

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.atmos.ucla.edu/~verica/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The art of being wise is the art of knowing what to overlook."
                                                 William James

On Nov 8, 2006, at 3:12 PM, Cathy Smith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All, We have a script that successfully produces a ps file. We would
> like a gif for a webpage. Convert works to produce a gif. However,
> that
> gif has too much white space so after much tweaking, we came up with
>
> convert -trim +repage -border 20x20 -bordercolor white file.ps
> file.gif
>
> to produce a smaller image with only a 20pix border.
>
> Our problem is that the the image appears correctly using xv and in
> MAC
> Safari. In Firefox and in photoshop, the actual plot is mostly chopped
> off the image and is at the bottom of white space. It seems that
> various
> imaging programs interpret the gif differently, perhaps confusing page
> location and image location.
>
> We run convert 5.5 on Sunos.
>
> Does anyone know how to successfully convert the image to gif and
> remove
> the white space? Is there a way to produce gif's directly or to
> produce
> a ps that is small in the first place?
>
> Thanks for any ideas. I'm happy to try everything out.
>
> Cathy Smith
> - --
> NOAA/ESRL PSD and CIRES CDC
> 303-497-6263
> http://www.cdc.noaa.gov/people/cathy.smith/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFFUmRNFiO7KzMhjUQRAqkXAJ0a/Ph50CkLHChaYfm9jA0FoRbQdwCfdLQl
> izF8xVHZbAgyzXzKMIak//8=
> =ZbvG
> -----END PGP SIGNATURE-----
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 08 2006 - 16:27:56 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 08 2006 - 16:43:53 MST