AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.10.22 17:40 "bad version number 10752", by Kai-uwe Behrmann
2007.10.22 18:31 "Re: bad version number 10752", by Bob Friesenhahn
2007.10.22 18:50 "Re: bad version number 10752", by Kai-uwe Behrmann
2007.10.22 18:57 "Re: bad version number 10752", by Bob Friesenhahn
2007.10.23 15:05 "Re: bad version number 10752", by Kai-uwe Behrmann
2007.10.23 15:45 "Re: bad version number 10752", by Bob Friesenhahn
2007.10.22 20:07 "Re: bad version number 10752", by Toby Thain
2007.10.23 02:33 "Re: bad version number 10752", by Graeme Gill
2007.10.23 06:28 "Re: bad version number 10752", by Kai-uwe Behrmann
2007.10.23 07:41 "Re: bad version number 10752", by Graeme Gill
2007.10.23 08:10 "Re: bad version number 10752", by <jcupitt@gmail.com>

2007.10.22 18:57 "Re: bad version number 10752", by Bob Friesenhahn

On Mon, 22 Oct 2007, Kai-Uwe Behrmann wrote:
>
>> Does the problem have anything to do with the library being built as a
>> universal binary?
>
> Certainly. The files where written and read by a libtiff v3.8.2 as pure
> big endian version and the Preview app shows them correctly. The universal
> built libtiff gives up.
> Apple recommends to use runtime endianess checking. Very often software
> checks on compile time.

Libtiff definitely checks at compile time.  Runtime checking is often 
less efficient.

Maybe you can do two separate builds and then use 'lipo' to create a 
working universal binary?

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/lipo.1.html

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/