Function

GimpColorTransformcan_gegl_copy

since: 2.10

Declaration [src]

gboolean
gimp_color_transform_can_gegl_copy (
  GimpColorProfile* src_profile,
  GimpColorProfile* dest_profile
)

Description [src]

This function checks if a GimpColorTransform is needed at all.

Available since: 2.10

Parameters

src_profile

Type: GimpColorProfile

Source GimpColorProfile.

The data is owned by the caller of the function.
dest_profile

Type: GimpColorProfile

Destination GimpColorProfile.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if pixels can be correctly converted between src_profile and dest_profile by simply using gegl_buffer_copy(), babl_process() or similar.