---
title: "JpegWriter.UseSubsampling Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_JpegWriter_UseSubsampling.htm
product: "Graphics Mill"
---

# JpegWriter.UseSubsampling Property 
 
Gets or sets a value indicating whether to use chroma subsampling in JPEG compression or not.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public bool UseSubsampling { get; set; }
```
 
### Property Value
 `true` if chroma subsampling is used; otherwise, `false`. The default value is `true`.
   
## See Also

### Reference

- [JpegWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_JpegWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
