AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.02.12 05:32 "Problem using tiled images", by Timothy J. Wood
1994.02.12 05:43 "Problem using tiled images, continued", by Timothy J. Wood
1994.02.12 22:05 "Problems with tiles images (solution)", by Timothy J. Wood

1994.02.12 22:05 "Problems with tiles images (solution)", by Timothy J. Wood

There were actually two pieces to this problem.

i) The NeXT cc expands structures to word boundaries, so sizeof (struct {unsigned char r,g,b}) = 4.

ii) I was passing in a pointer to my buffer instead of the buffer itself to TIFFWriteEncodedTile.

-tim