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

Home » Public Forums » archive » Re: Another IDL twist
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: Another IDL twist [message #18277] Fri, 17 December 1999 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Ben Tupper wrote:
> I don't know why, but I do know it drove me bananas. I wrote the
> following as a wrapper for most of the READ_* procedures. It is in the
> form of a FUNCTION rather than PROCEDURE. I've only tried it on TIFF,
> JPEG and GIF so far. If you try and have suggestions, please send them
> along.

I'm guessing that most people who read TIFF, JPEG, and GIF images from
disk actually want to *display* the images in IDL. Hence, I wrote a
procedure which makes it rather easy.

SHOWIMAGE displays images in GIF, BMP, PICT, TIFF, or JPEG format (the
format is detected automatically), e.g.

IDL> file = filepath('rose.jpg', subdir='examples/data')
IDL> showimage, file

Check it out at:
http://cimss.ssec.wisc.edu/~gumley/imagetools.html

Note that IDL 5.2 is required, to allow automatic detection of image
format (i.e. the query_gif, query_bmp etc. functions in IDL 5.2 are
used).

Cheers,
Liam.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Previous Topic: Z-range
Next Topic: Re: widget fonts

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

Current Time: Thu Oct 09 20:35:07 PDT 2025

Total time taken to generate the page: 1.44044 seconds