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
December 1996

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

1996.12.18 10:42 "Problems with libtiff v3.4", by Benoit Chausserie-lapree
1996.12.19 08:25 "Re: Problems with libtiff v3.4", by Karsten Spang

1996.12.19 08:25 "Re: Problems with libtiff v3.4", by Karsten Spang

In message <199612181042.LAA13823@qtis.cst.cnes.fr> ,
Benoit.Chausserie-Lapree@cst.cnes.fr (Benoit Chausserie-Lapree)  writes:

>I am using the TIFF library (libtiff, version 3.4) on a SUN station :

>With libtiff I cannot read TIFF files crated on a DEC-ALPHA station :
>- when reading the value of each pixel of the image on my SUN station with
>the libtiff functions (with TIFFReadRawStrip), those are always interpreted
>LSB-MSB and not MSB-LSB as they should on the SUN ;

>Where is the problem ?

You got what you asked for, i.e. the *raw* data. Use TIFFReadEncodedStrip
instead.

The tags you included in the message did not include any compression tag,
so I will assume that data are uncompressed, and that this is the reason
that raw and and encoded read gave the same result on big endian files.

Karsten
--------------------------------------------------------------------------------
E-mail: krs@kampsax.dk                                      Karsten Spang
Phone:  +45 36 39 08 00                                     Kampsax Technology
Fax:    +45 36 77 03 01                                     P.O. Box 1142
WWW:    http://www.kampsax.dk/~krs                          DK-2650 Hvidovre
                                                            Denmark