AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.05.25 17:24 "[Tiff] libtiff writes zero valued tile offsets and byte counts", by Thomas Sharpless
2006.05.30 08:42 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Gerben Vos
2006.05.30 18:04 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Chris Cox
2006.06.01 03:42 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Joris Van Damme
2006.06.01 04:09 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Chris Cox
2006.06.08 22:27 "RE: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Mark R. Olin
2006.06.08 18:44 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Frank Warmerdam
2006.06.08 23:22 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Joris Van Damme

2006.05.30 08:42 "Re: [Tiff] libtiff writes zero valued tile offsets and byte counts", by Gerben Vos

My scanning camera app writes tiled tiff images using libtiff under Win32. The images

are readable by PhotoShop (6.01) but not by PaintShop Pro 7 or libtiff itself. The problem

seems to be that all the tile offsets and bytecounts in the file are zero (their number is

correct). Can anyone tell me why?

It's hard to image that such a file would be readable by Photoshop (unless it applies some heuristics when it encounters a nonconforming TIFF file).

Your code looks good at first sight. Maybe you can make a TIFF that you created this way available by FTP or HTTP, or at least post the output of tiffdump? Also, you could try to reduce your code to a short, self-contained program that writes a TIFF, so we can reproduce your problem.

Gerben Vos.