С++, rotate bmp file
I need to rotate the bmp file exactly 180 degrees.(if possible, do not change anything except the RotateImage function. At the moment, from this picture: Input image I get this: Output image What is the problem and how to fix it? Code: void RotateImage(tagRGBQUAD* RGB, int biSize, FILE* f) { int width = 404; // … Read more