[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a GIF file from a graphics window in IDL
- Subject: Re: Creating a GIF file from a graphics window in IDL
- From: "Liam E.Gumley" <Liam.Gumley(at)ssec.wisc.edu>
- Date: Wed, 21 Jun 2000 09:31:26 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Space Science and Engineering Center, UW-Madison
- References: <394EA050.1C70A2DB@uic.edu> <firstname.lastname@example.org> <395046F2.2AB7D35F@mail.earth.monash.edu.au>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20003
Michael W Asten wrote:
> Liam Gumley wrote:
> > <email@example.com> wrote in message news:394EA050.1C70A2DB@uic.edu...
> > > I was wondering if anyone knows how to write a GIF or JPEG file in IDL
> > > using the image that appears in a window. Otherwise, it would also be
> > > helpful If there was a way to create an array from the window's
> > > contents. Thank you.
> > Try SAVEIMAGE:
> > http://cimss.ssec.wisc.edu/~gumley/imagetools.html
> Or (with less sophisication) use the native idl commands
> I regularly use these from the idl command line (or within a program) to
> grab an image and then insert the resulting "picture file" into a WORD
> report or powerpoint presentation.
WRITE_GIF in combination with TVRD will only work reliably in 8-bit
display mode, while WRITE_JPEG in combination with TVRD will only work
reliably in 24-bit display mode. This is why I wrote SAVEIMAGE: it works
reliably in either 8-bit or 24-bit mode.