From 04dec46c6a252a401a23c06ece2552f64cfc5892 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Sat, 9 Jan 2010 00:16:35 +0000 Subject: Color management fixes Now it's a bit more robust, tagging images with profiles when they're loaded, which then get interpreted later on by conversion functions. Just Linear RGB and sRGB profiles at the moment, same as before. This commit fixes Martin's problem with EXRs and Multilayer images loading/ saving too dark, and it also makes the sequence editor work correctly with it too. Also fixes: [#19647] gamma correction with color management is reset when resetting Curve [#19454] 2.5: Dither does not work when Color management is enabled --- source/blender/editors/space_image/image_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_image') diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index 46ec41eda58..ea526b13219 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -126,7 +126,7 @@ static void image_verify_buffer_float(SpaceImage *sima, Image *ima, ImBuf *ibuf, else { if (color_manage) { if (ima && ima->source == IMA_SRC_VIEWER) - ibuf->profile = IB_PROFILE_SRGB; + ibuf->profile = IB_PROFILE_LINEAR_RGB; } else { ibuf->profile = IB_PROFILE_NONE; } -- cgit v1.2.3