CmykChannelCombiner Class

Creates a CMYK image by combining several grayscale images.

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

Syntax

C#
public sealed class CmykChannelCombiner : ChannelCombiner

Remarks

Note

The merging channels must be of the same dimensions and resolution.

Examples

The following code creates a CMYK image by combining 4 grayscale bitmaps (one bitmap per color channel):

C#
using (var combiner = new CmykChannelCombiner())
using (var writer = new TiffWriter(@"Images\Output\Cmyk_test_combined.tif"))
{
    combiner.C = new TiffReader(@"Images\Cmyk_test_Channel_C.tif");
    combiner.M = new TiffReader(@"Images\Cmyk_test_Channel_M.tif");
    combiner.Y = new TiffReader(@"Images\Cmyk_test_Channel_Y.tif");
    combiner.K = new TiffReader(@"Images\Cmyk_test_Channel_K.tif");
    combiner.AutoDisposeSources = true;
    Pipeline.Run(combiner + writer);
}

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.PipelineElement
L Aurigma.GraphicsMill.ChannelCombiner
L Aurigma.GraphicsMill.CmykChannelCombiner

Thread Safety

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

See Also

Reference

Manual