AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2012

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2012.04.05 20:05 "LZW Support configuration issue", by Christopher Cameron
2012.04.05 20:27 "Re: LZW Support configuration issue", by Bob Friesenhahn
2012.04.09 13:07 "Re: LZW Support configuration issue", by Christopher Cameron
2012.04.17 17:25 "Re: LZW Support configuration issue", by Christopher Cameron

2012.04.09 13:07 "Re: LZW Support configuration issue", by Christopher Cameron

I am just using libtiff 4.0.0; I don't have any other version to work
with. I am building it as part of another product's "make install"
procedure which makes use of the libtiff configuration. I am able to use
libtiff in my applications without a problem for decoding and encoding.
But I cannot seem to get LZW support to work, even when tiff_config.h says
that it is configured with "#define LZW_SUPPORT 1".

Chris Cameron
Software Developer - Multimedia/Camera
ccameron@qnx.com




On 12-04-05 4:27 PM, "Bob Friesenhahn" <bfriesen@simple.dallas.tx.us>
wrote:

>On Thu, 5 Apr 2012, Christopher Cameron wrote:
>
>> Hello,
>> 
>> I am currently re-configuring libtiff 4.0.0 to support LZW.
>> As far as I understand, all I had to do was re-run configure without
>>the "--disable-lzw" option, rebuild, and then rebuild my code which makes
>> use of libtiff.
>> All seems well in the code - LZW_SUPPORT is defined, and the code in
>>tif_lzw.c is not inactive anymore (in the editor, I mean).
>
>LZW is indeed supported by default for many years now.
>
>> But when I run my code, I get the following error:
>> 
>> \X$x5 compression support is not configured
>> 
>> Quite strange how what probably should read "LZW" reads "\X$x5" and in
>>fact this has also been "\X x5" and various other unsavory looking
>> characters (hah).
>
>Probably you are still using some archaic libtiff rather than the one
>you just built, or a mix of both.  Did you remember to do 'make
>install' to put the build product where your own software can find it?
>
>Bob
>-- 
>Bob Friesenhahn
>bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
>GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/