| 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.10 21:41 "Re: Q: writing tiled TIFFs", by Andrey Kiselev> yes. i'm copying squares out of my source image into a 256x256 buffer > (doing what amounts to an image overlay of the source onto the tile > buffer - so the tile buffer maintains its 256x256 nature and the > overlayed image only covers a part of the tile buffer). then i pass > that to TIFFWriteTile. 1. Do you need a TIFFWriteTile() function? Probably TIFFWriteEncodedTile() may better suit for your needs. 2. You should use cropped buffer in your case (this is also happens when you write the last tile in a strip or column). Data in the buffer will be contiguous, i.e. after the end of the first scanline you should start the second one without any NULL bytes or so. Andrey -- Andrey V. Kiselev Home phone: +7 812 5970603 ICQ# 26871517 |
|||||||