Re: Write iVolume to PNG from command line [message #69453] |
Thu, 07 January 2010 09:36 |
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  |
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 #69457 is a reply to message #69455] |
Thu, 07 January 2010 08:29  |
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  |
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.
|
|
|