AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.05.13 02:21 "Displaying TIFF images as a bitmap?", by Bad Badtz
2002.05.13 12:56 "Re: Displaying TIFF images as a bitmap?", by Peter Nielsen

2002.05.13 02:21 "Displaying TIFF images as a bitmap?", by Bad Badtz

Hi,

I need to display a GeoTIFF image as a Windows bitmap using CreateBitmap API.

But I notice that the image is inverted vertically. I read in tiff2dib.c that in the tiff file, the lines are saved from up to down and in a DIB, the lines must be save from down to top. Does that means that when creating my bitmap, the bits from the TIFF image should be inserted bottom-up?

Thanks!