comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Write iVolume to PNG from command line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Write iVolume to PNG from command line [message #69453] Thu, 07 January 2010 09:36
tegus is currently offline  tegus
Messages: 20
Registered: October 2008
Junior Member
On Jan 7, 12:17 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article
> < 9f60d402-c6dc-4b2c-bdd8-b00c55ef1...@j14g2000yqm.googlegroup s.com >,
>
>  tegus <tegusbillhar...@gmail.com> wrote:
>> Hi,
>
>>    I have a series of iVolume visualizations which I want to write to
>> a PNG -- from the command line.
>>    The iTools manuals go into great depth about how to create writers
>> etc. but I just want to capture the iTool output to a PNG.
>>    How can this be done?
>
>> Thanks,
>> Bill
>
> You can download my IDl library
>
>   http://csrp.tamu.edu/downloads/idl/bowman_lib.zip
>
> ITOOL_WRITE_GRAPHIC_KPB will write images from iTools graphics windows.
>
> Ken Bowman

Ken,

Many thanks, just what I needed!
Re: Write iVolume to PNG from command line [message #69454 is a reply to message #69453] Thu, 07 January 2010 09:25 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 7, 2:29 pm, tegus <tegusbillhar...@gmail.com> wrote:
> I can't find a procedure or function called isave in help --- it is
> undefined at the command line.

Which version are you using? isave was introduced in 7.1.

If you need to do it in an older version, you may see if this will
work:

http://www.ppenteado.net/idl/pp_itool_save.html
http://www.ppenteado.net/idl/pp_itool_save.pro

It was written to save isv and/or eps. But looking at the code, I
think that if you give the keyword epsfile a png file name, it will
make a PNG, because the file format is decided by the extension in the
file name. I do not know for sure because I do not have an older IDL
installed where I can check it. If you do use it and it works, let me
know and I may change the code to indicate that it can save to other
formats.
Re: Write iVolume to PNG from command line [message #69455 is a reply to message #69454] Thu, 07 January 2010 09:17 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<9f60d402-c6dc-4b2c-bdd8-b00c55ef131f@j14g2000yqm.googlegroups.com>,
tegus <tegusbillharris@gmail.com> wrote:

> Hi,
>
> I have a series of iVolume visualizations which I want to write to
> a PNG -- from the command line.
> The iTools manuals go into great depth about how to create writers
> etc. but I just want to capture the iTool output to a PNG.
> How can this be done?
>
> Thanks,
> Bill

You can download my IDl library

http://csrp.tamu.edu/downloads/idl/bowman_lib.zip

ITOOL_WRITE_GRAPHIC_KPB will write images from iTools graphics windows.

Ken Bowman
Re: Write iVolume to PNG from command line [message #69457 is a reply to message #69455] Thu, 07 January 2010 08:29 Go to previous message
tegus is currently offline  tegus
Messages: 20
Registered: October 2008
Junior Member
On Jan 7, 11:24 am, pp <pp.pente...@gmail.com> wrote:
> On Jan 7, 1:42 pm, tegus <tegusbillhar...@gmail.com> wrote:
>
>> Hi,
>
>>    I have a series of iVolume visualizations which I want to write to
>> a PNG -- from the command line.
>>    The iTools manuals go into great depth about how to create writers
>> etc. but I just want to capture the iTool output to a PNG.
>>    How can this be done?
>
> It may be as simple as
>
> isave,'image.png'
>
> See the help for more details.

I can't find a procedure or function called isave in help --- it is
undefined at the command line.

Bill


Bill
Re: Write iVolume to PNG from command line [message #69459 is a reply to message #69457] Thu, 07 January 2010 08:24 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 7, 1:42 pm, tegus <tegusbillhar...@gmail.com> wrote:
> Hi,
>
>    I have a series of iVolume visualizations which I want to write to
> a PNG -- from the command line.
>    The iTools manuals go into great depth about how to create writers
> etc. but I just want to capture the iTool output to a PNG.
>    How can this be done?

It may be as simple as

isave,'image.png'

See the help for more details.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Mosaic_doit in IDL gives a different result that the ENVI mosaic tool
Next Topic: ps_start problems in idl 7.1

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:02:11 PDT 2025

Total time taken to generate the page: 0.04347 seconds