Re: Problems converting gmeta to png

From: Andrew Mai (mai AT unknown)
Date: Thu Jan 13 2005 - 10:53:31 MST

  • Next message: Dave Allured: "Re: global map of concentration"

    Dave Allured wrote:

    > I recommend that you keep the images in a vector format for the
    > intermediate file, to avoid repeat raster degradation. Postscript
    > should do it well. I do this frequently to make good PDF's.

    This has been my experience, too.

    > The following sample is for Unix/Solaris, and I think it should be about
    > the same for Linux.
    >
    > ctrans -d ps.color gmeta > nice_pic.ps
    > convert nice_pic.ps nice_pic.png

    You may want the following options in the convert command (which make it
    run pretty slow, but the result is worth the wait):

        convert -density 288 -crop 0x0 nice_pic.ps nice_pic.png

    The meaning of these two options is explained clearly in the man page.
    Basically, the density spec increases the resolution (higher quality)
    while the crop spec chops all but two pixels worth of the background
    from around your image. You may need to re-size this png after importing
    into PowerPoint or some such program.

    Andy

    -- 
    

    Andrew W. Mai --- __o National Center for Atmospheric Research ---- _`\<,_ Boulder, CO 80307 USA mai AT unknown --- (*)/ (*) http://www.cgd.ucar.edu/cdp/mai/mai.html

    _______________________________________________ ncarg-talk mailing list ncarg-talk AT unknown http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Thu Jan 13 2005 - 13:44:11 MST