AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.02.27 17:13 "[Tiff] adding compilation flag to set the ARGB as native win32 format", by Frederic Delhoume
2004.02.27 17:39 "Re: [Tiff] adding compilation flag to set the ARGB as native win32 format", by Andy Cave
2004.03.19 18:05 "[Tiff] Testcase: G4 with 0 trailing bits before EOFB", by J. Jeff Roberts
2004.03.22 11:26 "Re: [Tiff] Testcase: G4 with 0 trailing bits before EOFB", by Gerben Vos
2004.03.25 01:33 "[Tiff] Convert 8bit/channel to 16bit Tiff", by K.V. N. Murthy
2004.03.25 04:25 "Re: [Tiff] Convert 8bit/channel to 16bit Tiff", by Chris Cox
2004.03.25 04:43 "Re: [Tiff] Convert 8bit/channel to 16bit Tiff", by Bob Friesenhahn
2004.04.05 17:44 "[Tiff] LIKING ERROR : Undifined symbel _TIFFOpen in module", by prabhu chinnasamy
2004.04.07 09:26 "Re: [Tiff] LIKING ERROR : Undifined symbel _TIFFOpen in module", by Gerben Vos

2004.02.27 17:13 "[Tiff] 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.

__________________________________
Do you Yahoo!?

Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools