1 | using System;
|
---|
2 |
|
---|
3 | namespace SharpVectors.Converters
|
---|
4 | {
|
---|
5 | /// <summary>
|
---|
6 | /// <para>
|
---|
7 | /// This specifies the encoder type used to encode a collection of
|
---|
8 | /// bitmap frame objects to an image stream.
|
---|
9 | /// </para>
|
---|
10 | /// <para>
|
---|
11 | /// This is used by the <see cref="ImageSvgConverter"/> converter.
|
---|
12 | /// </para>
|
---|
13 | /// </summary>
|
---|
14 | /// <seealso cref="ImageSvgConverter"/>
|
---|
15 | public enum ImageEncoderType
|
---|
16 | {
|
---|
17 | /// <summary>
|
---|
18 | /// Specifies an encoder that is used to encode bitmap (BMP)
|
---|
19 | /// format images, that is
|
---|
20 | /// <see cref="System.Windows.Media.Imaging.BmpBitmapEncoder"/>.
|
---|
21 | /// </summary>
|
---|
22 | BmpBitmap = 0,
|
---|
23 | /// <summary>
|
---|
24 | /// Specifies an encoder that is used to encode Graphics Interchange
|
---|
25 | /// Format (GIF) images, that is
|
---|
26 | /// <see cref="System.Windows.Media.Imaging.GifBitmapEncoder"/>.
|
---|
27 | /// </summary>
|
---|
28 | GifBitmap = 1,
|
---|
29 | /// <summary>
|
---|
30 | /// Specifies an encoder that is used to encode Joint Photographics
|
---|
31 | /// Experts Group (JPEG) format images, that is
|
---|
32 | /// <see cref="System.Windows.Media.Imaging.JpegBitmapEncoder"/>.
|
---|
33 | /// </summary>
|
---|
34 | JpegBitmap = 2,
|
---|
35 | /// <summary>
|
---|
36 | /// Specifies an encoder that is used to encode Portable Network
|
---|
37 | /// Graphics (PNG) format images, that is
|
---|
38 | /// <see cref="System.Windows.Media.Imaging.PngBitmapEncoder"/>.
|
---|
39 | /// </summary>
|
---|
40 | PngBitmap = 3,
|
---|
41 | /// <summary>
|
---|
42 | /// Specifies an encoder that is used to encode Tagged Image File
|
---|
43 | /// Format (TIFF) images, that is
|
---|
44 | /// <see cref="System.Windows.Media.Imaging.TiffBitmapEncoder"/>.
|
---|
45 | /// </summary>
|
---|
46 | TiffBitmap = 4,
|
---|
47 | /// <summary>
|
---|
48 | /// Specifies an encoder that is used to Microsoft Windows Media Photo
|
---|
49 | /// (WDP) images, that is
|
---|
50 | /// <see cref="System.Windows.Media.Imaging.WmpBitmapEncoder"/>.
|
---|
51 | /// </summary>
|
---|
52 | WmpBitmap = 5
|
---|
53 | }
|
---|
54 | }
|
---|