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:18 "Re: [Tiff] example of (standalone) TIFFRegisterCODEC", by Frank Warmerdam

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?

Brad,

I suspect this means that it is practically impossible to provide new compression codecs without using the private include files. Essentially, the CODEC management stuff is not properly abstracted to be available to normal applications.

I believe you will just need to manually install tiffiop.h and any other include files you need. It will mean that any application registering custom codecs will not be able to use "standard" libtiff sdk packages on things like linux which lack the tiffiop.h include file.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent