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

Home » Public Forums » archive » SAVEIMAGE update
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
SAVEIMAGE update [message #16617] Thu, 05 August 1999 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
I've just posted an updated version of SAVEIMAGE to

http://cimss.ssec.wisc.edu/~gumley/imagetools.html

SAVEIMAGE saves the contents of the current graphics window to an output
file in GIF (default), BMP, TIFF, or JPEG format. The current IDL
graphics mode (8-bit or 24-bit) is detected and handled automatically
(IDL 5.1 or higher is required).

Using the procedure is as simple as

IDL> saveimage, 'test.gif'
IDL> saveimage, 'test.bmp', /bmp
IDL> saveimage, 'test.tif', /tiff
IDL> saveimage, 'test.jpg', /jpeg

The updates include color reduction for 8-bit images, and sorted color
tables for quantized 24-bit images.

Cheers,
Liam.

PS: The companion routine SHOWIMAGE is coming along nicely. It will
provide a straightforward way to display GIF, BMP, TIFF, or JPEG images
whether you are running IDL in 8-bit or 24-bit mode.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL>can anyone tell me what the problem is?
Next Topic: Re: Medical Imaging Question

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

Current Time: Fri Oct 10 11:14:25 PDT 2025

Total time taken to generate the page: 1.52137 seconds