
Thread
2005.11.21 03:29 "Re: [Tiff] libtiff support for Microsoft Office Document Imaging", by Frank Warmerdam
On 11/19/05, Brad Hards <bradh@frogmouth.net> wrote:
I've had a go at doing this. See attached for what it might look like.
I decided to add a configure option instead of doing the #define directly. The #define has no effect for tiffdump, since tiffdump is already a diagnostics tool and can support most of the MDI tags.
I've done a little bit of work on what will happen if the host is bigendian, however it is almost certainly incomplete. I will do some more work on this before submitting the patch again.
I'd also like to add something to the public API (eg another define or a function) that says whether libtiff was compiled with MDI support.
I'm still not sure this is the right approach - doing a more general solution (perhaps with some flags) and always having it on would avoid packaging / building problems.
Brad,
I have created bug 1002 to address this issue:
http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
I have committed your patch to CVS, but I would appreciate a sample file I can test with.
Your approach looks good.
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