---
title: "Mosaic Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Mosaic.htm
product: "Graphics Mill"
---

# Mosaic Class
 
Applies a mosaic effect on an image.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class Mosaic : MaskTransform
```
 
## Remarks
  
This effect lies in averaging a block of pixels of specified size. You specify [CellWidth](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Mosaic_CellWidth.htm.md) and [CellHeight](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Mosaic_CellHeight.htm.md), and the image is "pixelated" according this cell size.
 
## Inheritance Hierarchy
  
- System.Object
    - [Aurigma.GraphicsMill.PipelineElement](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PipelineElement.htm.md)
        - [Aurigma.GraphicsMill.Transforms.Transform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Transform.htm.md)
            - [Aurigma.GraphicsMill.Transforms.MaskTransform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_MaskTransform.htm.md)
                - Aurigma.GraphicsMill.Transforms.Mosaic
 
## 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

- [Mosaic Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Transforms_Mosaic.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
