$ 0 0 Would you mind sharing your test.bmp file so I can use that to reproduce the issue? Can you try setting m.ColorSpace? That should do the same as -colorspace.