2010.08.23 14:17 "Re: [Tiff] TIFFWriteScanline works on Windows and Linux but fails on Mac", by Dennis_Mølhom_Hansen
Minor break: I got a TIFFError redirected so now it finally prints:
I get the following message when TIFFWriteScanline fails: "compression support is not configured"
I can't se any issues in the configure output, but I will check again.
Any ideas on how to configure compression support for LZW?
2010/8/23 Dennis Mølhom Hansen <email@example.com>:
The only flag I used for the built was --prefix. I checked the makefile as you mentioned, and the only option I found in my version was --disable-lzw... It seems to be enable by default. I do not see any general compression flag either.
I tried the sample program "tiffcp -c lzw in_uncompressed.tif out_lzw.tif" and I was able to lzw compressed the tif file. So something is working, right now i'm comparing the source codes to find the issue, but so far without much luck...
On Mon, Aug 23, 2010 at 2:02 PM, Juergen Buchmueller <firstname.lastname@example.org> wrote:
On Mon, 23 Aug 2010 12:18:25 +0200
Dennis Mølhom Hansen <email@example.com> wrote:
Update: any compression seems to fail on mac, only uncompressed work. Any ideas where to look for a cause/solution?
Perhaps the library was built without support for compression? IIRC you can disable the various schemes and the default may even be to build without compression support. You should take a look at the Makefile for the environment flags to set for supporting LZW compression and possibly others. Or was libtiff autoconf'd? I don't remember. In that case use ./configure --help to see the various options.