This documentation is for the old version. Go to the latest Graphics Mill docs

Common.ConvertToRgb Method

Converts the bitmap to RGB color space using the specified color profiles.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Shared Sub ConvertToRgb ( _
	bitmap As Bitmap, _
	rgb As ColorProfile, _
	cmyk As ColorProfile, _
	grayscale As ColorProfile _
)
C#
public static void ConvertToRgb(
	Bitmap bitmap,
	ColorProfile rgb,
	ColorProfile cmyk,
	ColorProfile grayscale
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

The bitmap to convert.
rgb

Type: Aurigma.GraphicsMill.ColorProfile

The RGB color profile used for conversion.
cmyk

Type: Aurigma.GraphicsMill.ColorProfile

The CMYK color profile used for conversion.
grayscale

Type: Aurigma.GraphicsMill.ColorProfile

The grayscale color profile used for conversion.

See Also

Reference