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.
- In object form you deliver the codec object and the header.
- In source form you deliver the codec source and header plus maybe
tiffiop.h which is needed in the source of the codec.
At the end external codecs work exactly like internal ones.
From: firstname.lastname@example.org [mailto:email@example.com] 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?