ColorManagement Xojo Plugin |

# ICCColorProfile.ConvertToColorProfileTask Method (console safe)

Creates task to convert color profile on a RawBitmap, creating new instance of RawBitmap with the result.

ConvertToColorProfileTask(
bitmap as RawBitmap) as EinhugurRuntime.Task

#### Parameters

bitmap
  The RawBitmap to apply the color profile to.

#### Returns

EinhugurRuntime.Task
  Handle to the conversion task or nil if there was error.

#### Remarks

Note: For this task the Entry and Exit code running in Xojo thread space is small. See the documentation for TypeLib plugin Task to get detailed explanation of what this means.

This method can throw ICCColorProfileException.

#### See Also

ICCColorProfile Class