Re: Produce Gif via ncargraphic

From: friedman (friedman AT unknown)
Date: Tue Jan 02 1996 - 15:17:32 MST


Peizhong, There is yet another way to obtain a gif file from
PostScript file generated from an NCAR CGM file.
Most PostScript files generated with ctrans yield a vector
PostScript file which can produce very high-resolution color
output on a color printer.

Ghostscript Version 3.1.2 can take an NCAR PS file and convert it
an image file, such as GIF, PBM, TIFF, etc.

The software can be obtained from an MIT anonymous ftp site.

Ed Friedman

>>
>> Hi.
>>
>> Is there any one know how to generate gif file directly via NcarGraphics?
>> Now I can only produce hdf file at first and then convert hdf file to gif
>> file.
>>
>> Thanks and Merry Chrismas
>>
>> Peizhong
>
>Dear Peizhong,
>
>By now you have probably received at least one answer to this
>question, but since it comes up quite often, I'd thought I'd post an
>answer to the group.
>
>First of all, it is not possible to generate a GIF file directly from
>NCAR Graphics. You need to convert your NCGM graphic to a raster file
>(like "sun") using ctrans:
>
> ctrans -d sun gmeta > gmeta.sun
>
>Then, you can convert the raster file to a GIF file using a public
>domain package from the San Diego Supercomputing Center called "Image
>Tools". Check with your system administrator to see if Image Tools
>has been installed at your site. If it hasn't, then it can be obtained
>via anonymous FTP to ftp.sdsc.edu.
>
>Once Image Tools is installed, you can use the "imconv" application to
>convert your file:
>
> imconv -infile gmeta.sun -outfile gmeta.gif
>
>"imconv" allows you to convert between many different formats, so it
>can really come in handy if you lots of different kind of raster files
>you have to deal with. Here are some of the formats supported
>by ImageTools:
>
>
>bmp Windows bitmap image file
>cur Windows cursor image file
>eps Encapsulated PostScript file
>gif Graphics Image File
>hdf Hierarchical Data File
>ico Windows icon image file
>icon Sun Icon and Cursor file
>iff Sun TAAC Image File Format
>jpeg JPEG Image File Format
>miff ImageMagick's MIFF file format
>mpnt Apple Macintosh MacPaint file
>pbm PBM Portable Bit Map file
>pcx ZSoft IBM PC Paintbrush file
>pic PIXAR picture file
>pict Apple Macintosh QuickDraw/PICT file
>pix Alias image file
>ps Adobe PostScript file
>ras Sun Rasterfile
>rgb SGI RGB image file
>rla Wavefront raster image file
>rle Utah Run length encoded image file
>si SoftImage's image file format
>synu SDSC Synu image file
>tga Truevision Targa image file
>tiff Tagged image file
>viff Khoros Visualization image file
>x AVS X image file
>xbm X11 bitmap file
>xpm X11 pixmap file
>xwd X Window System window dump image file
>
>
>This question is also in our FAQ which can be reached via the URL:
>
> http://ngwww.ucar.edu/info/faq.html
>
>
>Happy New Year to everybody!
>
>
>--NCAR Graphics Support

Ed Friedman Internet: friedman AT unknown | Phone: 212-998-3051
Associate Director for Scientific Computing
Bitnet: friedman@acfclu | Fax: 212-995-4120

New York University
Courant Institute of Mathematical Sciences
Academic Computing Facility



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:44:54 MDT