widget_get_color_transform


Description:

[ CCode ( cname = "gimp_widget_get_color_transform" ) ]
[ Version ( since = "2.10" ) ]
public ColorTransform? widget_get_color_transform (Widget widget, ColorConfig config, ColorProfile src_profile, Object src_format, Object dest_format, ColorProfile softproof_profile, ColorRenderingIntent proof_intent, bool proof_bpc)

This function returns the ColorTransform that transforms pixels from src_profile to the profile of the Monitor the widget is displayed on.

Parameters:

widget

a Widget

config

a ColorConfig

src_profile

a ColorProfile

src_format

Babl format for the transform's source pixels

dest_format

Babl format for the transforms's destination pixels

Returns:

the ColorTransform.


Namespace: GimpUi
Package: gimp-ui-3.0