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 #39716 is a reply to message #39715] Thu, 10 June 2004 06:02 Go to previous messageGo to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Jonathan,
have you tried whether TIFFSupport = LMGR('idl_tifflzw', VERSION='1.0')
works? This stuff is largely undocumented, but RSI uses it for example in
query_image to check for gif support.

Cheers,
Haje

"Jonathan Joseph" <jj21@cornell.edu> wrote in message
news:ca7qcv$8bl$1@news01.cit.cornell.edu...
>
> Is there a way to query whether or not you have permission to write an
> LZW compressed tiff file?
>
> I just found out that we actually do have the LZW licensing string in
> the license.dat file. Unfortunately, It seems as though the number of
> allowable LZW licenses is 1, while the number of allowable IDL licenses
> is 8 - so if someone else has started IDL before you, they have the one
> and only LZW license. I hope this was just a glitch in the creation of
> the license.dat file. Another multi-user license we have seems to have
> the same number of LZW licenses as IDL licenses.
>
> 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).
>
> For example, if I send the code to collaborators, I want it to not crash
> if they don't have LZW licensing. Even when the Unysis patents expire,
> It will take some IDL maintenamce (at least a new license string, if not
> a new version of IDL) to be able to use the functionality again.
>
> Thanks.
>
> -Jonathan
[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 22:23:41 PDT 2025

Total time taken to generate the page: 1.52497 seconds