set_color_profile


Description:

[ Version ( since = "2.10" ) ]
public bool set_color_profile (ColorProfile? profile)

This procedure sets the image's color profile.

If null is passed as profile, then the built-in profile for this's color model is set.

Parameters:

this

The image.

profile

A ColorProfile, or null.

Returns:

true on success.