---
title: "Class BlackAndWhite | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Effects/BlackAndWhite/"
---

# Class BlackAndWhite

> **Inheritance:** `System.Object` -> BlackAndWhite

###### **Namespace**: [Aurigma.DesignAtoms.ImageProcessing.Effects](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Effects.md)

###### **Assembly**: Aurigma.DesignAtoms.ImageProcessing.dll

```csharp title="Syntax"
public class BlackAndWhite
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### BlackAndWhite

```csharp
public BlackAndWhite()
```

## Methods

### GetProcessedBitmap

```csharp
public static Bitmap GetProcessedBitmap(Bitmap bitmap, DitheringType ditheringType, float intensity, bool transparent)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Bitmap` | *bitmap* |  |
| `Aurigma.GraphicsMill.Transforms.DitheringType` | *ditheringType* |  |
| `System.Single` | *intensity* |  |
| `System.Boolean` | *transparent* |  |

##### Returns

`Aurigma.GraphicsMill.Bitmap`

### GetPipelineElements

```csharp
public static IEnumerable<PipelineElement> GetPipelineElements(Pipeline pipeline, DitheringType ditheringType, float intensity, bool transparent, RgbColor finalColor = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Pipeline` | *pipeline* |  |
| `Aurigma.GraphicsMill.Transforms.DitheringType` | *ditheringType* |  |
| `System.Single` | *intensity* |  |
| `System.Boolean` | *transparent* |  |
| `Aurigma.GraphicsMill.RgbColor` | *finalColor* |  |

##### Returns

`System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.PipelineElement>`

### GetBitmap

```csharp
public static Bitmap GetBitmap(Pipeline sourcePipeline, DitheringType ditheringType, float intensity = 0.7F, bool transparent = false, Color finalColor = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Pipeline` | *sourcePipeline* |  |
| `Aurigma.GraphicsMill.Transforms.DitheringType` | *ditheringType* |  |
| `System.Single` | *intensity* |  |
| `System.Boolean` | *transparent* |  |
| `Aurigma.GraphicsMill.Color` | *finalColor* |  |

##### Returns

`Aurigma.GraphicsMill.Bitmap`

### GetPipelineElements

```csharp
public static IEnumerable<PipelineElement> GetPipelineElements(Pipeline pipeline, PixelFormat pixelFormat, DitheringType ditheringType, float intensity, bool transparent, RgbColor finalColor = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Pipeline` | *pipeline* |  |
| `Aurigma.GraphicsMill.PixelFormat` | *pixelFormat* |  |
| `Aurigma.GraphicsMill.Transforms.DitheringType` | *ditheringType* |  |
| `System.Single` | *intensity* |  |
| `System.Boolean` | *transparent* |  |
| `Aurigma.GraphicsMill.RgbColor` | *finalColor* |  |

##### Returns

`System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.PipelineElement>`
