| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.12.09 14:01 "Re: Q: writing tiled TIFFs", by Joris Van DammeChris, > the tile setup part is above. the actual tile writing part looks > like this: I can't see any obvious mistake. But of course, I'm not a C coder, and I don't know the ISByteArray and CISOverlay objects... Have you tried - double-checking the th and tw values after they are set by TIFFGetField? - dumping the memory pointed to by tempTile.GetPtr() to a temp file, at the time of the TIFFWriteTile call, and checking that, so as to exclude the possibility of a bug in the ISByteArray and/or CISOverlay objects? As to the actual LibTiff calls, they seem fine to me, assuming that you've also initialized stuff like the photometric and samplesperpixel tags and such somewhere in the code. Sorry I cannot seem to be more helpful. Joris Van Damme info@awaresystems.be http://www.awaresystems.be Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html |
|||||||