In fact, color management settings shouldn't be editing from this operator since screenshot is using OpenGL which is in sRGB space, but fixed issues with Image Format initialization and added NULL pointer checks.
In fact, color management settings shouldn't be editing from this operator since screenshot is using OpenGL which is in sRGB space, but fixed issues with Image Format initialization and added NULL pointer checks.