Re: NCAR Graphics output in JPG or GIF format

From: Roger Dargaville (rjd AT unknown)
Date: Wed Jan 23 2002 - 09:09:21 MST

  • Next message: fred: "Re: NCAR Graphics output in JPG or GIF format"

    Somesh,

    I use this csh script to change meta files into .gif. I use it for
    producing images for a web page.

    #!/bin/csh -f
    /contrib/bin/ctrans -d sgi gmeta > temp.sgi
    /contrib/bin/sgitopnm temp.sgi > temp.ppm
    /contrib/bin/ppmtogif temp.ppm > temp.gif

    But if I need better quality I use GSview and print postscript to a jpg
    file, selecting the 300 dpi option.

    There are probably better ways, but this works for me.

    Roger

    > "Dr. Someshwar Das" wrote:
    >
    > Hello,
    >
    > I am using the NCAR Graphics version 4.2.2 for plotting the MM5 outputs.
    > Could some one please let me know how to convert the NCAR graphics image
    > '.cgm' file into JPG and GIF format? At present I am able to convert the
    > image only into the postscript format by using the command
    >
    > ctrans -d ps.color graphics.cgm > graphics.ps
    >
    > I would like to find out a method to convert the .cgm file into JPG and
    > GIF formats. Thank you.
    >
    > Somesh

    -- 
    Roger Dargaville				Email: rjd AT unknown
    Climate and Global Dynamics Division		Ph: +1 303 497 1732 (W)
    National Center for Atmospheric Research	    +1 303 497 1695 (FAX)
    PO BOX 3000, Boulder CO 80307, USA
    



    This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 09:36:10 MST