"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libgimpcolor/gimpcolortransform.c" between
gimp-2.10.10.tar.bz2 and gimp-2.10.12.tar.bz2

About: GIMP - The GNU Image Manipulation Program.

gimpcolortransform.c  (gimp-2.10.10.tar.bz2):gimpcolortransform.c  (gimp-2.10.12.tar.bz2)
skipping to change at line 200 skipping to change at line 200
transform = g_object_new (GIMP_TYPE_COLOR_TRANSFORM, NULL); transform = g_object_new (GIMP_TYPE_COLOR_TRANSFORM, NULL);
priv = transform->priv; priv = transform->priv;
priv->src_space_format = gimp_color_profile_get_format (src_profile, priv->src_space_format = gimp_color_profile_get_format (src_profile,
src_format, src_format,
BABL_ICC_INTENT_RELATI VE_COLORIMETRIC, BABL_ICC_INTENT_RELATI VE_COLORIMETRIC,
&error); &error);
if (! priv->src_space_format) if (! priv->src_space_format)
{ {
g_printerr ("%s: error making format: %s\n", g_printerr ("%s: error making src format: %s\n",
G_STRFUNC, error->message); G_STRFUNC, error->message);
g_clear_error (&error); g_clear_error (&error);
} }
priv->dest_space_format = gimp_color_profile_get_format (dest_profile, priv->dest_space_format = gimp_color_profile_get_format (dest_profile,
dest_format, dest_format,
rendering_intent, rendering_intent,
&error); &error);
if (! priv->dest_space_format) if (! priv->dest_space_format)
{ {
g_printerr ("%s: error making format: %s\n", g_printerr ("%s: error making dest format: %s\n",
G_STRFUNC, error->message); G_STRFUNC, error->message);
g_clear_error (&error); g_clear_error (&error);
} }
if (! g_getenv ("GIMP_COLOR_TRANSFORM_DISABLE_BABL") && if (! g_getenv ("GIMP_COLOR_TRANSFORM_DISABLE_BABL") &&
priv->src_space_format && priv->dest_space_format) priv->src_space_format && priv->dest_space_format)
{ {
priv->src_format = src_format; priv->src_format = src_format;
priv->dest_format = dest_format; priv->dest_format = dest_format;
priv->fish = babl_fish (priv->src_space_format, priv->fish = babl_fish (priv->src_space_format,
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)