---
title: "CmykChannelCombiner Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_CmykChannelCombiner.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# CmykChannelCombiner Class

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Creates a CMYK image by combining several grayscale images.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
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):
 
```csharp
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
    - [Aurigma.GraphicsMill.PipelineElement](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PipelineElement.htm.md)
        - [Aurigma.GraphicsMill.ChannelCombiner](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ChannelCombiner.htm.md)
            - 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

- [CmykChannelCombiner Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_CmykChannelCombiner.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)

### Manual

- [Reading and Writing Channels](https://www.graphicsmill.com/docs/gm/reading-and-writing-channels.htm.md)
