AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.27 21:08 "[Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 21:10 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 21:51 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 21:22 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.27 21:40 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 21:54 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:00 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 22:07 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:18 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 23:02 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.27 21:50 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:25 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:49 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 23:08 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.28 17:09 "Re: [Tiff] creating a vb wrapper for libtiff", by Joris Van Damme
2005.05.27 21:30 "Re: [Tiff] creating a vb wrapper for libtiff", by Kevin Grover
2005.05.27 21:47 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine

2005.05.27 22:49 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine

IMO, any effort like that is going to run into some serious difficulties as soon as it gets to the tag handing stuff. LibTiff's TIFFGetTag and TIFFSetTag calls use C's "..." variable-parameter-list stuff, and that's not easily wrapped.

but, if someone's done it, i'd love to see how!

vb6 has the ParamArray vararray() as Variant possibility, which looks pretty much like the same thing, though how it translates is anyone's guess. And TiffGetField and TiffSetField use the same thing, which has got me stuck...

and that appears how it is done in the one function in freeimage - I may get there yet!

this looks like a starter at least:

Private Declare Function TIFFSetField Lib "libtiff3.dll" (ByRef tiff
As Long, ByVal tag As Long, ParamArray varArray() As Variant) As Long

G System, The Evolving GUniverse - http://www.g-system.at