2005.12.02 18:39 "[Tiff] Determining installed version of libtiff", by John Engelke

2005.12.03 02:40 "Re: [Tiff] Determining installed version of libtiff", by Frank Warmerdam

On 12/2/05, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

The tiffvers.h includes the version encoded as a string and a numeric constant. At the C API level you can call TIFFGetVersion() to return the version string.

TIFFGetVersion() returns a multiline string which pays homage to Sam Leffler and SGI. The fact that libtiff has been under new maintenance for a very long time should be reflected in the copyrights and the license. Sam Leffler and SGI can not be held responsible for the changes since libtiff left their hands.


I'm always hesitant to remove copyright messages from anything...

It would be useful to have a way to obtain just the version string ("3.7.4").

however, I don't see any need for copyright messages in the version string and would be in favor of just changing the #define for TIFFLIB_VERSION_STR to:

#define TIFFLIB_VERSION_STR "LIBTIFF, Version 3.7.4"

I'm a little hesitant to add another entry point to get a short string (TIFFGetShortVersion()?). Do you see a compelling need for this?

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