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

ChannelsProvider Class

This class contains methods and properties used by Bitmap to provide access to bitmap channels.

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

Syntax

Visual Basic
<DefaultMemberAttribute("Channel")> _
Public Class ChannelsProvider _
	Inherits LockableObject
C#
[DefaultMemberAttribute("Channel")]
public class ChannelsProvider : LockableObject

Remarks

This class enables you to extract bitmap channels to separate grayscale image, or replace some channel with another grayscale bitmap. You can do that using Channel[Int32] method. Here you can add alpha channel (AddAlpha(Single) method) or remove it (DiscardAlpha(Color) method). Using Transparentize(Color, Single) method you can make alpha channel transparent at the areas with specified color.

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.LockableObject
L Aurigma.GraphicsMill.ChannelsProvider

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.

Object Model




See Also

Reference