I'd like to add that if you still have the original script that
generated the NCGM file and you can still run it, I recommend
modifying it so that it writes its output to an EPS or PS file, and
then use "convert". Your fonts will look better if you do it this way.
I use this method for generating images for PowerPoint presentations.
I believe you can only do one frame at a time, though. If you have a
multi-frame PS file, you can split it into individual PS files
using "psplit", a tool that comes with NCL. Then you can use "convert"
on these individual PS files.
--Mary
On Thu, 13 Oct 2005, Dennis Shea wrote:
> As noted below "convert" is tool
> used convert from one image format to another.
>
> Unfortunately, "convert" does not recognize the
> ncgm [NCAR Graphics Metafile] format.
>
> You can readily convert from ncgm to gif via
> a freely available filter ["ncgm2gif"] that may
> already be on your system [ "which ncgm2gif" may
> be used to see if it is locally available].
>
> If you have "ncgm2gif", then you could do the following
>
> ncgm2gif foo.ncgm foo.gif
> convert foo.gif foo.jpg
>
>
> The following link describes in detail several
> approaches to converting ncgm files. It also
> has links to the assorted filters.
>
> http://ngwww.ucar.edu/ng4.4/faq.html#ConvertGif
> -----
>>
>> Hello,
>>
>> There is a util in Unix system, i.e. convert.
>>
>> It is very simple. You can first create eps figure using NCL, and then
>> create jpg file using
>> "convert yourfigure.eps yourfigure.jpg"
>>
>> Good luck
>>
>> Yi
> -----
>>
>> Date: Thu, 13 Oct 2005 15:22:31 +0630
>> From: "Padigala Jamima" <jamimap@mail.nplindia.ernet.in>
>> Subject: converting ncgm file to jpg
>> To: ncl-talk@ucar.edu
>> Message-ID: <20051013085128.M30964@mail.nplindia.ernet.in>
>> Content-Type: text/plain; charset=iso-8859-1
>>
>> can anyone tell me how to convert .ncgm file to jpg file
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 17:04:17 MDT