-
Notifications
You must be signed in to change notification settings - Fork 955
/
EncoderParameterValueType.cs
51 lines (48 loc) · 1.77 KB
/
EncoderParameterValueType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing.Imaging;
/// <summary>
/// Specifies a EncoderParameter data type.
/// </summary>
public enum EncoderParameterValueType
{
/// <summary>
/// The data is an 8-bit unsigned value.
/// </summary>
ValueTypeByte = 1,
/// <summary>
/// The data is an 8-bit ASCII value.
/// </summary>
ValueTypeAscii = 2, // 8-bit byte containing one 7-bit ASCII code. NULL terminated.
/// <summary>
/// The data is a 16-bit unsigned value.
/// </summary>
ValueTypeShort = 3,
/// <summary>
/// The data is a 32-bit unsigned value.
/// </summary>
ValueTypeLong = 4,
/// <summary>
/// The data is two long integers, specifying the numerator and the denominator of a rational number, respectively.
/// </summary>
ValueTypeRational = 5, // Two Longs. The first Long is the numerator, the second Long expresses the denomintor.
/// <summary>
/// Two longs which specify a range of integer values.
/// The first Long specifies the lower end and the second one specifies the higher end.
/// All values are inclusive at both ends.
/// </summary>
ValueTypeLongRange = 6,
/// <summary>
/// An 8-bit undefined value that can take any value depending on field definition.
/// </summary>
ValueTypeUndefined = 7,
/// <summary>
/// Two Rationals. The first Rational specifies the lower end and the second specifies the higher end.
/// All values are inclusive at both ends
/// </summary>
ValueTypeRationalRange = 8,
/// <summary>
/// The parameter is a pointer to a block of custom metadata.
/// </summary>
ValueTypePointer = 9,
}