CanvasBitmapFileFormat Enumeration |
This denotes the format used when saving a bitmap to a file.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasBitmapFileFormat
Members
| Member name | Value | Description |
---|
| Auto | 0 | The actual encoding used is determined from the file extension. If the file extension is not recognized, an error is reported. |
| Bmp | 1 | Indicates Windows Imaging Component's bitmap encoder. |
| Png | 2 | Indicates Windows Imaging Component's PNG encoder. |
| Jpeg | 3 | Indicates Windows Imaging Component's bitmap JPEG encoder. |
| Tiff | 4 | Indicates Windows Imaging Component's TIFF encoder. |
| Gif | 5 | Indicates Windows Imaging Component's GIF encoder. |
| JpegXR | 6 | Indicates Windows Imaging Component's JPEGXR encoder. |
See Also