mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
libgimpcolor: rename gimp_color_profile_get_format() to _get_lcms_format()
This commit is contained in:
parent
f59a635604
commit
c63d812be8
6 changed files with 16 additions and 16 deletions
|
@ -681,8 +681,8 @@ gimp_drawable_filter_sync_transform (GimpDrawableFilter *filter)
|
||||||
* calls below)
|
* calls below)
|
||||||
*/
|
*/
|
||||||
if (has_input)
|
if (has_input)
|
||||||
input_format = gimp_color_profile_get_format (input_format, &dummy);
|
input_format = gimp_color_profile_get_lcms_format (input_format, &dummy);
|
||||||
output_format = gimp_color_profile_get_format (output_format, &dummy);
|
output_format = gimp_color_profile_get_lcms_format (output_format, &dummy);
|
||||||
|
|
||||||
g_printerr ("profile transform drawable format: %s\n",
|
g_printerr ("profile transform drawable format: %s\n",
|
||||||
babl_get_name (drawable_format));
|
babl_get_name (drawable_format));
|
||||||
|
|
|
@ -162,7 +162,7 @@ gimp_color_profile_is_rgb
|
||||||
gimp_color_profile_is_gray
|
gimp_color_profile_is_gray
|
||||||
gimp_color_profile_is_cmyk
|
gimp_color_profile_is_cmyk
|
||||||
gimp_color_profile_is_linear
|
gimp_color_profile_is_linear
|
||||||
gimp_color_profile_get_format
|
gimp_color_profile_get_lcms_format
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
GIMP_COLOR_PROFILE
|
GIMP_COLOR_PROFILE
|
||||||
GIMP_COLOR_PROFILE_CLASS
|
GIMP_COLOR_PROFILE_CLASS
|
||||||
|
|
|
@ -27,9 +27,9 @@ EXPORTS
|
||||||
gimp_color_managed_profile_changed
|
gimp_color_managed_profile_changed
|
||||||
gimp_color_profile_get_copyright
|
gimp_color_profile_get_copyright
|
||||||
gimp_color_profile_get_description
|
gimp_color_profile_get_description
|
||||||
gimp_color_profile_get_format
|
|
||||||
gimp_color_profile_get_icc_profile
|
gimp_color_profile_get_icc_profile
|
||||||
gimp_color_profile_get_label
|
gimp_color_profile_get_label
|
||||||
|
gimp_color_profile_get_lcms_format
|
||||||
gimp_color_profile_get_lcms_profile
|
gimp_color_profile_get_lcms_profile
|
||||||
gimp_color_profile_get_manufacturer
|
gimp_color_profile_get_manufacturer
|
||||||
gimp_color_profile_get_model
|
gimp_color_profile_get_model
|
||||||
|
|
|
@ -1458,7 +1458,7 @@ gimp_color_profile_new_d50_gray_lab_trc (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gimp_color_profile_get_format:
|
* gimp_color_profile_get_lcms_format:
|
||||||
* @format: a #Babl format
|
* @format: a #Babl format
|
||||||
* @lcms_format: return location for an lcms format
|
* @lcms_format: return location for an lcms format
|
||||||
*
|
*
|
||||||
|
@ -1476,8 +1476,8 @@ gimp_color_profile_new_d50_gray_lab_trc (void)
|
||||||
* Since: 2.10
|
* Since: 2.10
|
||||||
**/
|
**/
|
||||||
const Babl *
|
const Babl *
|
||||||
gimp_color_profile_get_format (const Babl *format,
|
gimp_color_profile_get_lcms_format (const Babl *format,
|
||||||
guint32 *lcms_format)
|
guint32 *lcms_format)
|
||||||
{
|
{
|
||||||
const Babl *output_format = NULL;
|
const Babl *output_format = NULL;
|
||||||
const Babl *type;
|
const Babl *type;
|
||||||
|
|
|
@ -111,7 +111,7 @@ gboolean gimp_color_profile_is_cmyk (GimpColorProfile *
|
||||||
|
|
||||||
gboolean gimp_color_profile_is_linear (GimpColorProfile *profile);
|
gboolean gimp_color_profile_is_linear (GimpColorProfile *profile);
|
||||||
|
|
||||||
const Babl * gimp_color_profile_get_format (const Babl *format,
|
const Babl * gimp_color_profile_get_lcms_format (const Babl *format,
|
||||||
guint32 *lcms_format);
|
guint32 *lcms_format);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -214,10 +214,10 @@ gimp_color_transform_new (GimpColorProfile *src_profile,
|
||||||
src_lcms = gimp_color_profile_get_lcms_profile (src_profile);
|
src_lcms = gimp_color_profile_get_lcms_profile (src_profile);
|
||||||
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
|
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
|
||||||
|
|
||||||
priv->src_format = gimp_color_profile_get_format (src_format,
|
priv->src_format = gimp_color_profile_get_lcms_format (src_format,
|
||||||
&lcms_src_format);
|
&lcms_src_format);
|
||||||
priv->dest_format = gimp_color_profile_get_format (dest_format,
|
priv->dest_format = gimp_color_profile_get_lcms_format (dest_format,
|
||||||
&lcms_dest_format);
|
&lcms_dest_format);
|
||||||
|
|
||||||
lcms_error_clear ();
|
lcms_error_clear ();
|
||||||
|
|
||||||
|
@ -296,10 +296,10 @@ gimp_color_transform_new_proofing (GimpColorProfile *src_profile,
|
||||||
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
|
dest_lcms = gimp_color_profile_get_lcms_profile (dest_profile);
|
||||||
proof_lcms = gimp_color_profile_get_lcms_profile (proof_profile);
|
proof_lcms = gimp_color_profile_get_lcms_profile (proof_profile);
|
||||||
|
|
||||||
priv->src_format = gimp_color_profile_get_format (src_format,
|
priv->src_format = gimp_color_profile_get_lcms_format (src_format,
|
||||||
&lcms_src_format);
|
&lcms_src_format);
|
||||||
priv->dest_format = gimp_color_profile_get_format (dest_format,
|
priv->dest_format = gimp_color_profile_get_lcms_format (dest_format,
|
||||||
&lcms_dest_format);
|
&lcms_dest_format);
|
||||||
|
|
||||||
lcms_error_clear ();
|
lcms_error_clear ();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue