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

Home » Public Forums » archive » Re: TVRD to make GIF's with 24-bit color
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: TVRD to make GIF's with 24-bit color [message #17163 is a reply to message #17151] Wed, 15 September 1999 00:00 Go to previous messageGo to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Joe Means wrote:

Joe, just so we're clear: GIF files can only contain 8-bit images. If
you have displayed a 24-bit image and you wish to save it as a GIF, then
you must use TVRD(TRUE=1) and COLOR_QUAN to produce an 8-bit pseudocolor
image. If you wish to save a truecolor 24-bit image, then the JPEG and
TIFF formats are a good choice.

The SAVEIMAGE procedure mentioned in my previous post handles all of
this automatically. You just pick the output format, e.g.

IDL> saveimage, 'image.gif' ; GIF is the default
IDL> saveimage, 'image.jpg', /jpeg
IDL> saveimage, 'image.tif', /tiff

Cheers,
Liam.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: transfering DEM to ERDAS Imagine
Next Topic: IDL 4 Program Archive

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

Current Time: Sat Oct 11 20:00:37 PDT 2025

Total time taken to generate the page: 1.28209 seconds