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

Home » Public Forums » archive » Re: write_gif to stdout ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: write_gif to stdout ? [message #77282] Thu, 18 August 2011 21:28 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/18/11 3:27 pm, George Millward wrote:
> Hi there,
>
> I am building an IDL program which will be running offline under UNIX.
> Every time my program is run - it produces a .gif image.
>
> Is there any way to get this .gif file to be written to stdout -
> rather than saving it as an actual file ?
>
> I notice that LUN = -1 is stdout ..... but WRITE_GIF doesn't specify
> LUN, just a filename.
>
> Any ideas ?

If you really want to do this (it's not documented, so it might not work
in future versions), try ENCODE_GIF:

IDL> encode_gif, -1, bytarr(10, 10) + 5B
% Loaded DLM: GIF.

H° Á*\Ȱa€;

See the code for write_gif.pro for an example of what is normally
written in the header.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: write_gif to stdout ?
Next Topic: Green PostScript Background

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

Current Time: Fri Oct 10 14:54:40 PDT 2025

Total time taken to generate the page: 0.71938 seconds