Click or drag to resize
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
C#
public enum CanvasBitmapFileFormat
Members
  Member nameValueDescription
Auto0The actual encoding used is determined from the file extension. If the file extension is not recognized, an error is reported.
Bmp1Indicates Windows Imaging Component's bitmap encoder.
Png2Indicates Windows Imaging Component's PNG encoder.
Jpeg3Indicates Windows Imaging Component's bitmap JPEG encoder.
Tiff4Indicates Windows Imaging Component's TIFF encoder.
Gif5Indicates Windows Imaging Component's GIF encoder.
JpegXR6Indicates Windows Imaging Component's JPEGXR encoder.
See Also