Bug 750874 - Displayed colors look clipped after profile conversion...

...but they aren't clipped

gimp_display_shell_profile_can_convert_to_u8(): allow the shortcut of
converting directly to 8-bit for display only for GIMP_COMPONENT_TYPE_U8.

This might be an lcms bug, the code can be enabled again for U16 and
U32 if it's indeed an lcms bug and it gets fixed.
This commit is contained in:
Michael Natterer 2015-06-29 10:22:22 +02:00
parent 3d7af8a184
commit e669c6dd05

View file

@ -148,8 +148,13 @@ gimp_display_shell_profile_can_convert_to_u8 (GimpDisplayShell *shell)
switch (gimp_image_get_component_type (image))
{
case GIMP_COMPONENT_TYPE_U8:
#if 0
/* would like to convert directly for these too, but it
* produces inferior results, see bug 750874
*/
case GIMP_COMPONENT_TYPE_U16:
case GIMP_COMPONENT_TYPE_U32:
#endif
return TRUE;
default: