Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

ColorManagementProvider.ConvertToContinuous Method

Applies color conversion between various color spaces.

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

Syntax

Visual Basic
Public Sub ConvertToContinuous ( _
	colorSpace As ColorSpace, _
	hasAlpha As Boolean, _
	isExtended As Boolean _
)
C#
public void ConvertToContinuous(
	ColorSpace colorSpace,
	bool hasAlpha,
	bool isExtended
)

Parameters

colorSpace

Type: Aurigma.GraphicsMill.ColorSpace

ColorSpace value specifying target color space.
hasAlpha

Type: System.Boolean

Value specifying if to add (or remove) alpha channel.
Note

If you pass false and current pixel format has alpha channel, Graphics Mill for .NET will not flatten alpha channel with image. It will just remove it. So if you need to flatten alpha channel with some color, you should use DiscardAlpha(Color) method first.

isExtended

Type: System.Boolean

Value specifying if to convert to the extended pixel format (16 bits per channel).

See Also

Reference