[]
Saves the image into a Stream in JPEG format with specified quality (from 0 to 100). The returned stream should be disposed after usage.
public MemoryStream ToJpegStream(int quality)
Public Function ToJpegStream(quality As Integer) As MemoryStream
| Type | Name | Description |
|---|---|---|
| int | quality | The image quality from 0 (best compression) to 100 (best quality). |
| Type | Description |
|---|---|
| MemoryStream | The stream containing JPEG data. |