"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/core/gimpimage-color-profile.c" between
gimp-2.10.10.tar.bz2 and gimp-2.10.12.tar.bz2

About: GIMP - The GNU Image Manipulation Program.

gimpimage-color-profile.c  (gimp-2.10.10.tar.bz2):gimpimage-color-profile.c  (gimp-2.10.12.tar.bz2)
skipping to change at line 160 skipping to change at line 160
gimp_image_set_icc_parasite (GimpImage *image, gimp_image_set_icc_parasite (GimpImage *image,
const GimpParasite *icc_parasite) const GimpParasite *icc_parasite)
{ {
g_return_if_fail (GIMP_IS_IMAGE (image)); g_return_if_fail (GIMP_IS_IMAGE (image));
if (icc_parasite) if (icc_parasite)
{ {
g_return_if_fail (gimp_image_validate_icc_parasite (image, icc_parasite, g_return_if_fail (gimp_image_validate_icc_parasite (image, icc_parasite,
NULL, NULL) == TRUE); NULL, NULL) == TRUE);
gimp_image_parasite_attach (image, icc_parasite); gimp_image_parasite_attach (image, icc_parasite, TRUE);
} }
else else
{ {
gimp_image_parasite_detach (image, GIMP_ICC_PROFILE_PARASITE_NAME); gimp_image_parasite_detach (image, GIMP_ICC_PROFILE_PARASITE_NAME, TRUE);
} }
} }
gboolean gboolean
gimp_image_validate_icc_profile (GimpImage *image, gimp_image_validate_icc_profile (GimpImage *image,
const guint8 *data, const guint8 *data,
gsize length, gsize length,
gboolean *is_builtin, gboolean *is_builtin,
GError **error) GError **error)
{ {
skipping to change at line 422 skipping to change at line 422
gimp_image_convert_profile_colormap (image, gimp_image_convert_profile_colormap (image,
src_profile, dest_profile, src_profile, dest_profile,
intent, bpc, intent, bpc,
progress); progress);
break; break;
} }
gimp_image_set_is_color_managed (image, TRUE, TRUE); gimp_image_set_is_color_managed (image, TRUE, TRUE);
gimp_image_set_color_profile (image, dest_profile, NULL); gimp_image_set_color_profile (image, dest_profile, NULL);
/* omg... */ /* omg... */
gimp_image_parasite_detach (image, "icc-profile-name"); gimp_image_parasite_detach (image, "icc-profile-name", TRUE);
gimp_image_undo_group_end (image); gimp_image_undo_group_end (image);
if (progress) if (progress)
gimp_progress_end (progress); gimp_progress_end (progress);
return TRUE; return TRUE;
} }
void void
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

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