>
> man ctrans (in Sun Ultra 60, Solaris 7 version of Unix) says ...
>
> -d device Device name. ctrans will use the Graphcap (if it exists)
> or the appropriate graphics library indicated by device; If device
> is preceded by a UNIX directory path then ctrans will look in that
> directory for the specified graphcap. Otherwise ctrans searches
> the directory $NCARG_ROOT/lib/ncarg/graphcaps for the graphcap.
>
> How about trying this direct from gmeta to a .png (Portable
> Network Graphics) plot format image file? Anyone know of such a
> graphcap file which can let ctrans do this?. (Or how about .gif
> (Graphics Image File), .jpg (JPEG Image File), .bmp (Windows
> bitmap image file), or .pcx (ZSoft IBM PC Paintbrush file)?)
To convert from a GMETA file to one of the formats you mention above,
use ctrans to convert the GMETA file to a raster file, and then
convert that raster file to the format you desire using one of many
free tools that are available. For example, to convert from a GMETA
to a GIF file, you could do the following:
ctrans -d sun -res 600x600 gmeta | rasttopnm | ppmtogif > gmeta.gif
The applications rasttopnm and ppmtogif are part of the netpbm package
which is public domain software available at the URL:
http://sourceforge.net/projects/netpbm/
This is just one of many ways to do it. You can also use Image Tools
ctrans -d sun gmeta > gmeta.sun
imconv -infile gmeta.sun -outfile gmeta.gif
Image Tools is available from the San Diego Supercomputer Center
(SDSC):
ftp://ftp.sdsc.edu/pub/sdsc/graphics/imtools/
--Mary
This archive was generated by hypermail 2b29 : Mon Oct 09 2000 - 09:16:46 MDT