---
title: "LosslessJpeg.WriteRotated Method (Stream, RotateFlipType)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_LosslessJpeg_WriteRotated_2_38dd4041.htm
product: "Graphics Mill"
---

# LosslessJpeg.WriteRotated Method (Stream, RotateFlipType)
 
Rotates and/or flips the image and writes the result to the specified Stream.
 
**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 void WriteRotated(Stream stream,RotateFlipType transform
)
```
 
### Parameters
 
 - stream
     - Type: System.IO.Stream
The Stream to save the result.

 - transform
     - Type: System.Drawing.RotateFlipType
A RotateFlipType specifying how much an image is rotated and the axis used to flip the image.
   
## See Also

### Reference

- [LosslessJpeg Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_LosslessJpeg.htm.md)
- [WriteRotated Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_LosslessJpeg_WriteRotated.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)

### Manual

- [Applying Lossless JPEG Transforms](https://www.graphicsmill.com/docs/gm/applying-lossless-jpeg-transforms.htm.md)
