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
December 2004

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

2004.12.08 02:35 "Q: writing tiled TIFFs", by Chris Losinger
2004.12.08 02:51 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.08 02:55 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.08 02:57 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.08 08:00 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.08 15:56 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.09 07:28 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.08 10:01 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.08 12:41 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.08 12:48 "Re: Q: writing tiled TIFFs", by Joris Van Damme
2004.12.09 02:30 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.09 07:27 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.09 10:12 "Re: Q: writing tiled TIFFs", by Joris Van Damme
2004.12.09 12:48 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.09 13:19 "Re: Q: writing tiled TIFFs", by Joris Van Damme
2004.12.09 13:38 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.09 14:01 "Re: Q: writing tiled TIFFs", by Joris Van Damme
2004.12.09 23:09 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.09 23:29 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.10 06:53 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.10 21:28 "Re: Q: writing tiled TIFFs", by Andrey Kiselev
2004.12.10 21:52 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.10 21:55 "Re: Q: writing tiled TIFFs", by Andrey Kiselev
2004.12.10 21:54 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.10 21:47 "Re: Q: writing tiled TIFFs", by Andrey Kiselev
2004.12.10 21:56 "Re: Q: writing tiled TIFFs", by Bob Friesenhahn
2004.12.10 21:41 "Re: Q: writing tiled TIFFs", by Andrey Kiselev
2004.12.08 13:49 "Re: Q: writing tiled TIFFs", by Sachin Garg
2004.12.08 13:22 "Re: Q: writing tiled TIFFs", by Chris Losinger
2004.12.08 14:05 "Re: Q: writing tiled TIFFs", by Sachin Garg

2004.12.09 07:27 "Re: Q: writing tiled TIFFs", by Sachin Garg

> if i have a tile size of 256x256 and a 200x200 image, how should i
> fill the tile buffer before calling TIFFWriteTile? LibTiff doesn't give me
> any errors when i go to write it, so i assume it's a legal tile size. but,
> the image pixels are messed up (looks like row length is wrong somewhere).

I am "guessing" that you will probably have to write data for 56 extra
pixels after each row.

For example if the bit depth is 8 per channel, and its a rgb image,
then you must be writting 3 bytes for each pixel. So in the case you
describe above, you must be writting 3*200 bytes for each row, now you
will probably have to write 3*56 more NULL bytes after each rows data,
and then write the next rows data again followed by 3*56 NULL bytes
and so on.

-- 
Sachin Garg [India]
http://www.geocities.com/schngrg