Re: Problems converting gmeta to png

From: Dave Allured (dave.allured AT noaa.gov)
Date: Thu Jan 13 2005 - 10:35:10 MST


Eric,

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.

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

There may be a way to pipe the postscript into "convert" without using
an intermediate file. But I don't know "convert" well enough to know
what the right command syntax for that would be.

HTH.

--Dave
CDC/NOAA/CIRES

Kemp, Eric M. wrote:
> Hello:
>
> I am having difficulties converting single frame gmeta files to png
format. One procedure that has worked in the past is to
> have ctrans convert the gmeta frame to Sun raster format, and pipe
the output to the ImageMagick convert program which then generates the
png. However, on our Opteron Beowulf cluster, convert is giving me a
"Colormap type not supported" error message, while the GNU GIMP program
spits out "This image depth is not supported". I'm working on having
the latest version of ImageMagick installed on our machine (6.1.8
instead of 5.5.6), but the fact that GIMP can't read it either makes me
wonder if ctrans is doing something wrong.
>
> The NCAR Graphics package we're using is 4.4.0, built with pgf90
5.2-4 and gcc 3.3.2. We are running Fedora 2.4.22-1.2197.
>
> Suggestions would be appreciated.
>
> Sincerely,
>
> Eric Kemp
> Northrop Grumman IT TASC

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



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