| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
2005.02.02 21:09 "big endian", by Bob FriesenhahnFor purposes of parsing, my code would strongly prefer that libtiff offer scanlines, strips, or tiles, in "big endian" byte-order rather than attempting to swab into the CPU's native order. Is there a way to (portably across libtiff releases) convince libtiff to do that? The current approach I am using swabs the data to big-endian order, but this penalizes little-endian CPUs with an extra swap if the original TIFF data was in big-endian order. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us http://www.simplesystems.org/users/bfriesen |
|||||||