Saving NSBitmapImageRep as NSBMPFileType file. Wrong BMP headers and bitmap content
- by niko34
I save a NSBitmapImageRep to a BMP file (Snow Leopard). It seems ok when i open it on macos. But it makes an error on my multimedia device (which can show any BMP file from internet). I cannot figure out what is wrong, but when i look inside the file (with the cool hexfiend app on macos), 2 things wrong:
the header have a wrong value for the…