---
title: "LosslessJpeg.IsTrimmingRequired Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_LosslessJpeg_IsTrimmingRequired_1_71d6aa36.htm
product: "Graphics Mill"
---

# LosslessJpeg.IsTrimmingRequired Method 
 
Checks whether the image will be trimmed during the rotation or flipping.
 
**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 IsTrimmingRequired(RotateFlipType rotateFlipType
)
```
 
### Parameters
 
 - rotateFlipType
     - Type: System.Drawing.RotateFlipType
A RotateFlipType to test.
 
### Return Value
 `true` if the image will be trimmed; otherwise, `false`.
 
## Remarks
  
This method determined whether the image dimensions will be changed taking into account the original dimensions and the desired type of transformation.
   
## See Also

### Reference

- [LosslessJpeg Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_LosslessJpeg.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
