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

Home » Public Forums » archive » Re: LZW in IDL
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: LZW in IDL [message #39722 is a reply to message #39721] Wed, 09 June 2004 16:52 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Jonathan Joseph wrote:
>
> Regardless of whether I get our licensing working correctly, I would
> like to be able to write the code so that it uses LZW if availalbe and
> either no compression or packbits otherwise. Is there any way to query
> whether the write_tiff command with compress=1 will work before calling
> it? Currently, if LZW licensing is not available, the program will halt
> at the write_tiff call (despite something I read on an RSI web page
> which claimed that it would default to packbits).

When I first read this thread, I thought "Why not just use Zip
compression?" It's as effective, compression-wise, as LZW, and widely
supported. But not supported by IDL apparently, at least not according
to the documentation. This is a shame. Time for a feature request?

You can always post-process the images with ImageMagick, which does
support Zip compression.


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using a 2nd monitor as an output device not as part of an extended desktop
Next Topic: 3d Hanning filter

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

Current Time: Thu Oct 09 13:13:59 PDT 2025

Total time taken to generate the page: 0.79860 seconds