2004.12.08 02:35 "[Tiff] Q: writing tiled TIFFs", by Chris Losinger

2004.12.08 07:30 "Re: [Tiff] Q: writing tiled TIFFs", by Sachin Garg

is there a simple tutorial for writing tiled TIFFs? i've looked at the sample apps, but i'm not quite sure what all is going on in there. you C guys sure do hate whitespace and passing parameters where a global variable will suffice!

the Tile Oriented TIFF I/O notes (http://www.remotesensing.org:16080/libtiff/libtiff.html#Tiles) only covers the "I" part of "I/O".

I don't know about a tutorial, but feel free to check out how GraphicsMagick does it. You can view the source file on-line at "http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/tiff.c".

Unfortunately, I must admit that the 'O' part of this code does not actually get executed at the moment since a flag is not being set. It is part of the Pyramid TIFF support. Re-enabling the code is on my list of things to do.

I am not sure which code's 'O' part you are talking of here.

I am using some tiffcp derived code in my application, do you mean that tiled images are not copied as tiled? (To me it looked that everything was working fine) Or are you just talking about the 'O' part in GraphicsMagick's code you referenced.

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