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

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.