Re: How to generate images from the idt (binary installation) window

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 12 Nov 2008 18:47:47 -0700 (MST)

Mald,

With "idt" you can set up file called ".ncarv_spool" and put it in
your home directory. (The file needs to have a "." as the first
character in the filename.)

In this file, you enter one-line aliases to set up different ways you
want your NCGM file to be handled.

One such alias line might be:

   ps : -d ps.color : | lpr

Now, when you bring up idt with your NCGM file, your "print" button
will be activated, and you will see "ps" in the list. Clicking
on "ps" will send your NCGM to the default printer, if you have one
set up.

If you'd rather it just go to a file called "gmeta.ps", then you can
add another line:

   ps_file : -d ps.color : > gmeta.ps

You will now see both "ps" and "ps_file". Clicking on "ps_file" will
send your gmeta to a file called "gmeta.ps".

I just tried using ctrans in conjunction with the very nice "convert"
tool, which is available as part of ImageMagick:

    from http://www.imagemagick.org/script/index.php

The "convert" tool is very good with converting from one image format
to another.

If you have this tool, then you can add a line to do png output:

png : -d sun -res 1000x1000 : | convert - gmeta.png

--Mary

On Wed, 12 Nov 2008, Mald MM5 wrote:

> Hi anyone,
>
> I am using a binary version of NCAR graphics with NCL. I have got a gmeta
> file that I view with the idt window. How do I change the frame(s) to jpg or
> png or postscript so that I can use in the wordprocessor or to print?
>
> Cheers
> Mald
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Wed Nov 12 2008 - 18:47:47 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 14 2008 - 16:43:01 MST