AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2011

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2011.05.31 10:54 "Write Tile", by Jorge Martin
2011.05.31 12:52 "Re: Write Tile", by Olivier Paquet
2011.05.31 13:02 "Re: Write Tile", by Jorge Martin
2011.05.31 13:02 "Re: Write Tile", by Edward Lam
2011.06.01 10:43 "Re: Write Tile", by Jorge Martin
2011.06.01 13:21 "Re: Write Tile", by Olivier Paquet

2011.06.01 13:21 "Re: Write Tile", by Olivier Paquet

On 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