| 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 |
Thread2004.05.15 20:54 "Re: TIFFWriteScanline endian swapping issue", by Joris Van Damme> ... Win XP > ... src.PixelPtr(row) I'm guessing that your data is, underneath the object encapsulation, a windows DIB with 24bit RGB. Windows DIBs store 24bit RGB as B-G-R. Tiff/LibTiff is rooted in unix and platform independent traditions, they do things in oposite oposite order (pun intended), and as such expect R-G-B instead. Thus, neither party is to blame or buggy, but your glue code in-between needs to swap the bytes. Joris Van Damme info@awaresystems.be http://www.awaresystems.be Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html |
|||||||