Constructor

GimpColorTransformnew_proofing

Declaration [src]

GimpColorTransform*
gimp_color_transform_new_proofing (
  GimpColorProfile* src_profile,
  const Babl* src_format,
  GimpColorProfile* dest_profile,
  const Babl* dest_format,
  GimpColorProfile* proof_profile,
  GimpColorRenderingIntent proof_intent,
  GimpColorRenderingIntent display_intent,
  GimpColorTransformFlags flags
)

Description [src]

This function creates a simulation / proofing color transform.

See gimp_color_transform_new() about the color spaces to transform between.

Available since:2.10

Parameters

src_profile GimpColorProfile
 

The source GimpColorProfile.

 The data is owned by the caller of the function.
src_format Babl
 

The source Babl format.

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

The destination GimpColorProfile.

 The data is owned by the caller of the function.
dest_format Babl
 

The destination Babl format.

 The data is owned by the caller of the function.
proof_profile GimpColorProfile
 

The proof GimpColorProfile.

 The data is owned by the caller of the function.
proof_intent GimpColorRenderingIntent
 

The proof intent.

display_intent GimpColorRenderingIntent
 

The display intent.

flags GimpColorTransformFlags
 

Transform flags.

Return value

Returns: GimpColorTransform
 

The GimpColorTransform, or NULL if there was an error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.