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
February 2004

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

2004.02.27 17:13 "adding compilation flag to set the ARGB as native win32 format", by Frederic Delhoume
2004.02.27 17:39 "Re: adding compilation flag to set the ARGB as native win32 format", by Andy Cave

2004.02.27 17:13 "adding compilation flag to set the ARGB as native win32 format", by Frederic Delhoume

Hi,

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