| 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 |
Thread2011.06.01 13:21 "Re: Write Tile", by Olivier PaquetOn Wed, Jun 1, 2011 at 6:43 AM, Jorge Martin <jormarfe@gmail.com> wrote: > Now I have another problem writting tiles. When I open the ouput TIFF there > are strange issues in all the tiles located in the left parte of the image, > the rest of the image is right. I think that the problem is why the image is > 3659x701 and the tiles are 128x128, so there are not an integer number of > tiles, If I change the Image size in order to have a integer number of tile You should write all tiles at the same size, even the ones on the edge of the image which are not fully used. Your code seems to clamp the size of these tiles which is not how libtiff expects the data. eg. If your last tile is 67x128, libtiff expects a 128x128 tile with the data in the first 67 pixels of each row. Olivier |
|||||||