2001.10.18 10:00 "How to change RGBA to ARGB ?", by Frederic Delhoume


I need to change the format returned by various RGBA functions to ARGB. Do I just need to change the 4 PACK macros from tif_getimage.c?

I would like also the images to be top-bottom.

Do I only need to add img->orientation = ORIENTATION_LEFTTOP; in TIFFReadRGBATile and TIFFReadRGBAStrip (I only use these in my application)?

Thank you.