2008.11.01 07:10 "[Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards

2008.11.14 16:53 "RE: [Tiff] example of (standalone) TIFFRegisterCODEC", by ComSquare Martin Osieka

I would say that all depends how you like to provide your codec.

tiffiop.h which is needed in the source of the codec.

At the end external codecs work exactly like internal ones.

-----Original Message-----

From: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.org] On Behalf Of Brad Hards

On Saturday 01 November 2008 06:10:54 pm Brad Hards wrote:

I'm having a bit of trouble finding an example of how to use TIFFRegisterCODEC() by an application / external library.

Can anyone provide example code, or suggestions of where to look?

I'm still a bit concerned about how it is meant to work.

If I understand it correctly, the codec initialisation routine needs to work with the struct TIFF (e.g. setting function pointers for decoding) but that can't work without tiffiop.h, which isn't installed.

Am I meant to copy parts of that structure?