I am working on a program to resize a BMP file and save it in a new file. I noticed that some BMPs are stored completely in reverse order, while others are simply stored upright. Therefore, I made two decisions to handle both cases. My question is: how do I know if an IFV is stored upright or upside down? So that I can decide which solution to use instead of trying to use both solutions with each BMP!
source
share