AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.11.01 07:10 "[Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards
2008.11.14 08:14 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards
2008.11.14 16:18 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Frank Warmerdam
2008.11.14 23:32 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards
2008.11.16 00:39 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Frank Warmerdam
2008.12.13 10:30 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards
2008.12.13 15:18 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Frank Warmerdam
2008.12.13 16:35 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Bob Friesenhahn
2008.12.13 19:12 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Gene Amtower
2008.12.13 21:52 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Bob Friesenhahn
2008.12.14 00:07 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Brad Hards
2008.12.14 05:47 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Bob Friesenhahn
2008.11.14 16:53 "RE: [Tiff] example of (standalone) TIFFRegisterCODEC", by ComSquare Martin Osieka

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?