2002.05.13 02:21 "Displaying TIFF images as a bitmap?", by Bad Badtz
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?
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx