Bug 723787 - Neutral sRGB profile matching Argyllcms sRGB.icm

Add gimp_lcms_create_srgb_profile() to libgimpcolor and use it where
we used to call cmsCreate_sRGBProfile().
This commit is contained in:
Elle Stone 2014-02-06 09:53:37 -05:00 committed by Michael Natterer
parent eafe1b9be3
commit 05c5ca3216
9 changed files with 159 additions and 14 deletions

View file

@ -357,7 +357,7 @@ color_config_get_rgb_profile (GimpColorConfig *config)
if (config->rgb_profile)
profile = cmsOpenProfileFromFile (config->rgb_profile, "r");
return profile ? profile : cmsCreate_sRGBProfile ();
return profile ? profile : gimp_lcms_create_srgb_profile ();
}
static void