19 instantiations of Encoder
System.Drawing.Common (14)
System\Drawing\Imaging\Encoder.cs (13)
8
public static readonly Encoder Compression =
new
(new Guid(unchecked((int)0xe09d739d), unchecked((short)0xccd4), unchecked(0x44ee), [0x8e, 0xba, 0x3f, 0xbf, 0x8b, 0xe4, 0xfc, 0x58]));
9
public static readonly Encoder ColorDepth =
new
(new Guid(0x66087055, unchecked((short)0xad66), unchecked(0x4c7c), [0x9a, 0x18, 0x38, 0xa2, 0x31, 0x0b, 0x83, 0x37]));
10
public static readonly Encoder ScanMethod =
new
(new Guid(0x3a4e2661, 0x3109, 0x4e56, [0x85, 0x36, 0x42, 0xc1, 0x56, 0xe7, 0xdc, 0xfa]));
11
public static readonly Encoder Version =
new
(new Guid(0x24d18c76, unchecked((short)0x814a), unchecked(0x41a4), [0xbf, 0x53, 0x1c, 0x21, 0x9c, 0xcc, 0xf7, 0x97]));
12
public static readonly Encoder RenderMethod =
new
(new Guid(0x6d42c53a, 0x229a, 0x4825, [0x8b, 0xb7, 0x5c, 0x99, 0xe2, 0xb9, 0xa8, 0xb8]));
13
public static readonly Encoder Quality =
new
(new Guid(0x1d5be4b5, unchecked((short)0xfa4a), unchecked(0x452d), [0x9c, 0xdd, 0x5d, 0xb3, 0x51, 0x05, 0xe7, 0xeb]));
14
public static readonly Encoder Transformation =
new
(new Guid(unchecked((int)0x8d0eb2d1), unchecked((short)0xa58e), unchecked(0x4ea8), [0xaa, 0x14, 0x10, 0x80, 0x74, 0xb7, 0xb6, 0xf9]));
15
public static readonly Encoder LuminanceTable =
new
(new Guid(unchecked((int)0xedb33bce), unchecked(0x0266), unchecked(0x4a77), [0xb9, 0x04, 0x27, 0x21, 0x60, 0x99, 0xe7, 0x17]));
16
public static readonly Encoder ChrominanceTable =
new
(new Guid(unchecked((int)0xf2e455dc), unchecked(0x09b3), unchecked(0x4316), [0x82, 0x60, 0x67, 0x6a, 0xda, 0x32, 0x48, 0x1c]));
17
public static readonly Encoder SaveFlag =
new
(new Guid(unchecked(0x292266fc), unchecked((short)0xac40), unchecked(0x47bf), [0x8c, 0xfc, 0xa8, 0x5b, 0x89, 0xa6, 0x55, 0xde]));
22
public static readonly Encoder ColorSpace =
new
(new Guid(unchecked((int)0xae7a62a0), unchecked((short)0xee2c), unchecked(0x49d8), [0x9d, 0x07, 0x1b, 0xa8, 0xa9, 0x27, 0x59, 0x6e]));
27
public static readonly Encoder ImageItems =
new
(new Guid(unchecked(0x63875e13), unchecked(0x1f1d), unchecked(0x45ab), [0x91, 0x95, 0xa2, 0x9b, 0x60, 0x66, 0xa6, 0x50]));
32
public static readonly Encoder SaveAsCmyk =
new
(new Guid(unchecked((int)0xa219bbc9), unchecked(0x0a9d), unchecked(0x4005), [0xa3, 0xee, 0x3a, 0x42, 0x1b, 0x8b, 0xb0, 0x6c]));
System\Drawing\Imaging\EncoderParameter.cs (1)
29
get =>
new
(_parameterGuid);
System.Drawing.Common.Tests (5)
System\Drawing\Imaging\EncoderParameterTests.cs (4)
32
yield return new object[] { new
Encoder
(Guid.NewGuid()), byte.MinValue };
33
yield return new object[] { new
Encoder
(Guid.NewGuid()), 1 };
34
yield return new object[] { new
Encoder
(Guid.NewGuid()), byte.MaxValue };
199
Encoder encoder =
new
(Guid.NewGuid());
System\Drawing\Imaging\EncoderTests.cs (1)
12
Encoder encoder =
new
(guid);
71 references to Encoder
System.Drawing (1)
System.Drawing.cs (1)
80
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.
Encoder
))]
System.Drawing.Common (34)
System\Drawing\Imaging\Encoder.cs (16)
8
public static readonly
Encoder
Compression = new(new Guid(unchecked((int)0xe09d739d), unchecked((short)0xccd4), unchecked(0x44ee), [0x8e, 0xba, 0x3f, 0xbf, 0x8b, 0xe4, 0xfc, 0x58]));
9
public static readonly
Encoder
ColorDepth = new(new Guid(0x66087055, unchecked((short)0xad66), unchecked(0x4c7c), [0x9a, 0x18, 0x38, 0xa2, 0x31, 0x0b, 0x83, 0x37]));
10
public static readonly
Encoder
ScanMethod = new(new Guid(0x3a4e2661, 0x3109, 0x4e56, [0x85, 0x36, 0x42, 0xc1, 0x56, 0xe7, 0xdc, 0xfa]));
11
public static readonly
Encoder
Version = new(new Guid(0x24d18c76, unchecked((short)0x814a), unchecked(0x41a4), [0xbf, 0x53, 0x1c, 0x21, 0x9c, 0xcc, 0xf7, 0x97]));
12
public static readonly
Encoder
RenderMethod = new(new Guid(0x6d42c53a, 0x229a, 0x4825, [0x8b, 0xb7, 0x5c, 0x99, 0xe2, 0xb9, 0xa8, 0xb8]));
13
public static readonly
Encoder
Quality = new(new Guid(0x1d5be4b5, unchecked((short)0xfa4a), unchecked(0x452d), [0x9c, 0xdd, 0x5d, 0xb3, 0x51, 0x05, 0xe7, 0xeb]));
14
public static readonly
Encoder
Transformation = new(new Guid(unchecked((int)0x8d0eb2d1), unchecked((short)0xa58e), unchecked(0x4ea8), [0xaa, 0x14, 0x10, 0x80, 0x74, 0xb7, 0xb6, 0xf9]));
15
public static readonly
Encoder
LuminanceTable = new(new Guid(unchecked((int)0xedb33bce), unchecked(0x0266), unchecked(0x4a77), [0xb9, 0x04, 0x27, 0x21, 0x60, 0x99, 0xe7, 0x17]));
16
public static readonly
Encoder
ChrominanceTable = new(new Guid(unchecked((int)0xf2e455dc), unchecked(0x09b3), unchecked(0x4316), [0x82, 0x60, 0x67, 0x6a, 0xda, 0x32, 0x48, 0x1c]));
17
public static readonly
Encoder
SaveFlag = new(new Guid(unchecked(0x292266fc), unchecked((short)0xac40), unchecked(0x47bf), [0x8c, 0xfc, 0xa8, 0x5b, 0x89, 0xa6, 0x55, 0xde]));
20
/// An <see cref="
Encoder
" /> object that is initialized with the globally unique identifier for the color space category.
22
public static readonly
Encoder
ColorSpace = new(new Guid(unchecked((int)0xae7a62a0), unchecked((short)0xee2c), unchecked(0x49d8), [0x9d, 0x07, 0x1b, 0xa8, 0xa9, 0x27, 0x59, 0x6e]));
25
/// An <see cref="
Encoder
" /> object that is initialized with the globally unique identifier for the image items category.
27
public static readonly
Encoder
ImageItems = new(new Guid(unchecked(0x63875e13), unchecked(0x1f1d), unchecked(0x45ab), [0x91, 0x95, 0xa2, 0x9b, 0x60, 0x66, 0xa6, 0x50]));
30
/// An <see cref="
Encoder
" /> object that is initialized with the globally unique identifier for the save as CMYK category.
32
public static readonly
Encoder
SaveAsCmyk = new(new Guid(unchecked((int)0xa219bbc9), unchecked(0x0a9d), unchecked(0x4005), [0xa3, 0xee, 0x3a, 0x42, 0x1b, 0x8b, 0xb0, 0x6c]));
System\Drawing\Imaging\EncoderParameter.cs (18)
27
public
Encoder
Encoder
63
public EncoderParameter(
Encoder
encoder, byte value)
75
public EncoderParameter(
Encoder
encoder, byte value, bool undefined)
90
public EncoderParameter(
Encoder
encoder, short value)
102
public EncoderParameter(
Encoder
encoder, long value)
114
public EncoderParameter(
Encoder
encoder, int numerator, int denominator)
127
public EncoderParameter(
Encoder
encoder, long rangebegin, long rangeend)
141
Encoder
encoder,
160
public EncoderParameter(
Encoder
encoder, string value)
170
public EncoderParameter(
Encoder
encoder, byte[] value)
183
public EncoderParameter(
Encoder
encoder, byte[] value, bool undefined)
196
public EncoderParameter(
Encoder
encoder, short[] value)
208
public EncoderParameter(
Encoder
encoder, long[] value)
228
public EncoderParameter(
Encoder
encoder, int[] numerator, int[] denominator)
248
public EncoderParameter(
Encoder
encoder, long[] rangebegin, long[] rangeend)
269
Encoder
encoder,
298
public EncoderParameter(
Encoder
encoder, int NumberOfValues, int Type, int Value)
323
public EncoderParameter(
Encoder
encoder, int numberValues, EncoderParameterValueType type, IntPtr value)
System.Drawing.Common.Tests (36)
System\Drawing\ImageTests.cs (9)
8
using Encoder = System.Drawing.Imaging.
Encoder
;
614
Encoder
.Compression.Guid,
615
Encoder
.ColorDepth.Guid,
616
Encoder
.SaveFlag.Guid,
629
Encoder
.Transformation.Guid,
630
Encoder
.Quality.Guid,
631
Encoder
.LuminanceTable.Guid,
632
Encoder
.ChrominanceTable.Guid,
633
Encoder
.ImageItems.Guid
System\Drawing\Imaging\EncoderParametersTests.cs (1)
30
yield return new object[] { new EncoderParameter[1] { new(
Encoder
.ChrominanceTable, 0) } };
System\Drawing\Imaging\EncoderParameterTests.cs (15)
8
private static readonly
Encoder
s_anyEncoder =
Encoder
.ChrominanceTable;
10
private void CheckEncoderParameter(EncoderParameter encoderParameter,
Encoder
expectedEncoder, EncoderParameterValueType expectedType, int expectedNumberOfValues)
22
yield return new object[] {
Encoder
.ChrominanceTable, byte.MinValue };
23
yield return new object[] {
Encoder
.ColorDepth, byte.MinValue };
24
yield return new object[] {
Encoder
.Compression, byte.MinValue };
25
yield return new object[] {
Encoder
.LuminanceTable, byte.MinValue };
26
yield return new object[] {
Encoder
.Quality, byte.MinValue };
27
yield return new object[] {
Encoder
.RenderMethod, byte.MinValue };
28
yield return new object[] {
Encoder
.SaveFlag, byte.MinValue };
29
yield return new object[] {
Encoder
.ScanMethod, byte.MinValue };
30
yield return new object[] {
Encoder
.Transformation, byte.MinValue };
31
yield return new object[] {
Encoder
.Version, byte.MinValue };
40
public void Ctor_Encoder_Byte(
Encoder
encoder, byte value)
199
Encoder
encoder = new(Guid.NewGuid());
System\Drawing\Imaging\EncoderTests.cs (11)
12
Encoder
encoder = new(guid);
20
yield return new object[] {
Encoder
.Compression.Guid, new Guid(unchecked((int)0xe09d739d), unchecked((short)0xccd4), unchecked(0x44ee), [0x8e, 0xba, 0x3f, 0xbf, 0x8b, 0xe4, 0xfc, 0x58]) };
21
yield return new object[] {
Encoder
.ColorDepth.Guid, new Guid(0x66087055, unchecked((short)0xad66), unchecked(0x4c7c), [0x9a, 0x18, 0x38, 0xa2, 0x31, 0x0b, 0x83, 0x37]) };
22
yield return new object[] {
Encoder
.ScanMethod.Guid, new Guid(0x3a4e2661, 0x3109, 0x4e56, [0x85, 0x36, 0x42, 0xc1, 0x56, 0xe7, 0xdc, 0xfa]) };
23
yield return new object[] {
Encoder
.Version.Guid, new Guid(0x24d18c76, unchecked((short)0x814a), unchecked(0x41a4), [0xbf, 0x53, 0x1c, 0x21, 0x9c, 0xcc, 0xf7, 0x97]) };
24
yield return new object[] {
Encoder
.RenderMethod.Guid, new Guid(0x6d42c53a, 0x229a, 0x4825, [0x8b, 0xb7, 0x5c, 0x99, 0xe2, 0xb9, 0xa8, 0xb8]) };
25
yield return new object[] {
Encoder
.Quality.Guid, new Guid(0x1d5be4b5, unchecked((short)0xfa4a), unchecked(0x452d), [0x9c, 0xdd, 0x5d, 0xb3, 0x51, 0x05, 0xe7, 0xeb]) };
26
yield return new object[] {
Encoder
.Transformation.Guid, new Guid(unchecked((int)0x8d0eb2d1), unchecked((short)0xa58e), unchecked(0x4ea8), [0xaa, 0x14, 0x10, 0x80, 0x74, 0xb7, 0xb6, 0xf9]) };
27
yield return new object[] {
Encoder
.LuminanceTable.Guid, new Guid(unchecked((int)0xedb33bce), unchecked(0x0266), unchecked(0x4a77), [0xb9, 0x04, 0x27, 0x21, 0x60, 0x99, 0xe7, 0x17]) };
28
yield return new object[] {
Encoder
.ChrominanceTable.Guid, new Guid(unchecked((int)0xf2e455dc), unchecked(0x09b3), unchecked(0x4316), [0x82, 0x60, 0x67, 0x6a, 0xda, 0x32, 0x48, 0x1c]) };
29
yield return new object[] {
Encoder
.SaveFlag.Guid, new Guid(unchecked(0x292266fc), unchecked((short)0xac40), unchecked(0x47bf), [0x8c, 0xfc, 0xa8, 0x5b, 0x89, 0xa6, 0x55, 0xde]) };