convert_precision


Description:

[ Version ( since = "2.10" ) ]
public bool convert_precision (Precision precision)

Convert the image to the specified precision

This procedure converts the image to the specified precision. Note that indexed images cannot be converted and are always in GIMP_PRECISION_U8.

Parameters:

this

The image.

precision

The new precision.

Returns:

TRUE on success.