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

Home » Public Forums » archive » Re: write graphics to file?
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 graphics to file? [message #4719] Wed, 19 July 1995 00:00 Go to previous message
bleau is currently offline  bleau
Messages: 24
Registered: November 1993
Junior Member
In article <DBuB0r.AD0@midway.uchicago.edu>, rivers@cars3.uchicago.edu (Mark Rivers) writes:
>> I would like to have a file dump of my IDL window, in any graphics
>> format.
[snip]
>
> This question has been answered a number of times recently, it probably belongs
> in the FAQ.
>
> IDL> plot, x, y, title = 'This is my plot'
> IDL> image = tvrd()
> IDL> write_gif, file, image ....
>
> I believe this sequence works if you are on any windowing display (X, Windows,
> Mac). For better speed and more flexibility, first issue the command
> SET_PLOT, 'Z', /NOZ
> to write to the Z-buffer pseudo-device. You can set its resolution, and its
> write and readback performance is very fast.
>
Maybe if should (be in the FAQ, that is); I'm the previous person to ask about
it, I believe. I decided to but in on this thread, though, to ask a related
question: How does one create a color GIF file? write_gif loads&compiles some
other procedures, one of which is a black&white color table. The messages it
(write_gif) gives are:

% Compiled module: WRITE_GIF.
% Compiled module: LOADCT.
% Compiled module: FILEPATH.
% LOADCT: Loading table B-W LINEAR

Has anyone used this before to store a color image? I can rtfm on setting up
color tables and plotting them to the Z device and all, but since write_gif
isn't documented that well I haven't the faintest idea what I need to do
make it write out a color gif file. Ideas?

Larry Bleau
University of Maryland
bleau@umdsp.umd.edu
301-405-6223
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Contour problems...
Next Topic: Re: Errors in continental outlines

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

Current Time: Thu Oct 09 23:46:52 PDT 2025

Total time taken to generate the page: 0.39768 seconds