| 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.02.27 17:13 "adding compilation flag to set the ARGB as native win32 format", by Frederic DelhoumeHi, I would like to be able to use directly the ARGB interface as an input to win32 DibSections. The windows format is BGRA. I have tried to modify the 5 macros in tif_getimage.c (A1, PACK, PACK4, PACKW and PACKW4) but had no success. I am joining a simple (150 lines of c++), very easy to compile with any Windows compiler. It might be one of the simplest viewers around !! Image must be named image.tif Using the sample as is, it is obvious that colors are not correct if SwapBytes is commented. Having DIBSections support directly in libtiff would save me some heavy systematic computation. Frédéric. - Vliv, the very large image viewer for Windows - http://delhoume.frederic.free.fr/vliv.htm |
|||||||