TIFF and LibTiff Mail List Archive


2005.04.01 09:02 "[Tiff] TIFFOpen alternative", by katrina maramba
2005.04.01 09:49 "Re: [Tiff] TIFFOpen alternative", by Joris

2005.04.01 09:49 "Re: [Tiff] TIFFOpen alternative", by Joris


  1. I have a big data buffer where the whole file is stored. What API can I call to parse the buffer to get the header and the image data? What do I have to initialize/set beforehand?

You will need to look at TIFFClientOpen. See, and perhaps and subsequent mails in that thread. Essentially, TIFFClientOpen takes pointers to IO callbacks, that you can implement yourself to do any sort of IO, including reading from a buffer of yours.

  1. After I already have the data I need, I plan to call the API TIFFReadRGBAImage. It will return to me a big buffer with the whole image in RGBA format... Is this a correct operation?

It is one possibility. For a more advanced, lower level interface, see and subsequent topics on that page.

Can you also give me information on compression operations? Which one is the best to use?

That's a FAQ question. See

Joris Van Damme
Download your free TIFF tag viewer for windows here: