Cathy,
I used your convert command (except mine does not
recognize the "+repage" option) and looked at a PS
file in both Firefox and Photoshop with no apparent
error. Could you send my your original PS file to see
if I can reproduce the problem.
Fred Clare
On Nov 8, 2006, at 4: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:36:45 MST
This archive was generated by hypermail 2.2.0 : Wed Nov 08 2006 - 16:43:53 MST