2008.10.06 20:45 "Re: [SPAM] Re: [Tiff] Compression code 34719 (MDI Tiffs)", by Brad Hards

2008.10.08 21:47 "RE: [Tiff] Compression code 34719 (MDI Tiffs)", by ComSquare Martin Osieka

TIFFRegisterCODEC() is the right function.

I created tif_modi_vector.c/h to encapsulate the codec COMPRESSION_MODI_VECTOR 34719

tif_modi_vector.c includes tiffiop.h which allows access to the libtiff private data structures.

For sure in the moment it just works on Windows using the built-in EMF player.

Martin

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

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

Oops, sorry, somehow I got the wires crossed for tags. Someone else will have to answer the question instead. :( The closest I found was TIFFRegisterCODEC(). However, it looks to me like your initialization routine needs access to private library data structures.

http://www.remotesensing.org/libtiff/man/TIFFcodec.3tiff.html

Is there a way to register additional codecs into libtiff at runtime?

Yes, please see: http://www.remotesensing.org/libtiff/addingtags.html http://www.asmail.be/msg0055472353.html