BMP: Wrong decoding: image is mirrored and colors are not decoded properly
Pixels are BGR (blue, green, red) and not RGB (red, green, blue). Image origin is bottom-left, not top-right. In other words, image height must be reversed and pixels must be reversed too to provide RGB24.
See for example: