This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,90 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>An <see cref="T:System.Drawing.Imaging.Encoder" /> object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter.</summary>
// Token: 0x0200003B RID: 59
[Token(Token = "0x200003B")]
public sealed class Encoder
{
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.Encoder" /> class from the specified globally unique identifier (GUID). The GUID specifies an image encoder parameter category.</summary>
/// <param name="guid">A globally unique identifier that identifies an image encoder parameter category.</param>
// Token: 0x06000138 RID: 312 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000138")]
[Address(RVA = "0x680880", Offset = "0x67F680", VA = "0x180680880")]
public Encoder(Guid guid)
{
}
/// <summary>Gets a globally unique identifier (GUID) that identifies an image encoder parameter category.</summary>
/// <returns>The GUID that identifies an image encoder parameter category.</returns>
// Token: 0x17000023 RID: 35
// (get) Token: 0x06000139 RID: 313 RVA: 0x00002700 File Offset: 0x00000900
[Token(Token = "0x17000023")]
public Guid Guid
{
[Token(Token = "0x6000139")]
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
get
{
return default(Guid);
}
}
/// <summary>An <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the compression parameter category.</summary>
// Token: 0x04000156 RID: 342
[Token(Token = "0x4000156")]
public static readonly Encoder Compression;
/// <summary>An <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the color depth parameter category.</summary>
// Token: 0x04000157 RID: 343
[Token(Token = "0x4000157")]
public static readonly Encoder ColorDepth;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the scan method parameter category.</summary>
// Token: 0x04000158 RID: 344
[Token(Token = "0x4000158")]
public static readonly Encoder ScanMethod;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the version parameter category.</summary>
// Token: 0x04000159 RID: 345
[Token(Token = "0x4000159")]
public static readonly Encoder Version;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the render method parameter category.</summary>
// Token: 0x0400015A RID: 346
[Token(Token = "0x400015A")]
public static readonly Encoder RenderMethod;
/// <summary>Gets an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the quality parameter category.</summary>
// Token: 0x0400015B RID: 347
[Token(Token = "0x400015B")]
public static readonly Encoder Quality;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the transformation parameter category.</summary>
// Token: 0x0400015C RID: 348
[Token(Token = "0x400015C")]
public static readonly Encoder Transformation;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the luminance table parameter category.</summary>
// Token: 0x0400015D RID: 349
[Token(Token = "0x400015D")]
public static readonly Encoder LuminanceTable;
/// <summary>An <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the chrominance table parameter category.</summary>
// Token: 0x0400015E RID: 350
[Token(Token = "0x400015E")]
public static readonly Encoder ChrominanceTable;
/// <summary>Represents an <see cref="T:System.Drawing.Imaging.Encoder" /> object that is initialized with the globally unique identifier for the save flag parameter category.</summary>
// Token: 0x0400015F RID: 351
[Token(Token = "0x400015F")]
public static readonly Encoder SaveFlag;
// Token: 0x04000160 RID: 352
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000160")]
private Guid _guid;
}
}
@@ -0,0 +1,66 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Used to pass a value, or an array of values, to an image encoder.</summary>
// Token: 0x0200003C RID: 60
[Token(Token = "0x200003C")]
[StructLayout(0)]
public sealed class EncoderParameter : IDisposable
{
/// <summary>Allows an <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object to attempt to free resources and perform other cleanup operations before the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object is reclaimed by garbage collection.</summary>
// Token: 0x0600013B RID: 315 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600013B")]
[Address(RVA = "0x67FD10", Offset = "0x67EB10", VA = "0x18067FD10", Slot = "1")]
protected override void Finalize()
{
}
/// <summary>Releases all resources used by this <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object.</summary>
// Token: 0x0600013C RID: 316 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600013C")]
[Address(RVA = "0x67FCA0", Offset = "0x67EAA0", VA = "0x18067FCA0", Slot = "4")]
public void Dispose()
{
}
// Token: 0x0600013D RID: 317 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600013D")]
[Address(RVA = "0x67FC20", Offset = "0x67EA20", VA = "0x18067FC20")]
private void Dispose(bool disposing)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> class with the specified <see cref="T:System.Drawing.Imaging.Encoder" /> object and one 64-bit integer. Sets the <see cref="P:System.Drawing.Imaging.EncoderParameter.ValueType" /> property to <see cref="F:System.Drawing.Imaging.EncoderParameterValueType.ValueTypeLong" /> (32 bits), and sets the <see cref="P:System.Drawing.Imaging.EncoderParameter.NumberOfValues" /> property to 1.</summary>
/// <param name="encoder">An <see cref="T:System.Drawing.Imaging.Encoder" /> object that encapsulates the globally unique identifier of the parameter category.</param>
/// <param name="value">A 64-bit integer that specifies the value stored in the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object. Must be nonnegative. This parameter is converted to a 32-bit integer before it is stored in the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object.</param>
// Token: 0x0600013E RID: 318 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600013E")]
[Address(RVA = "0x67FD80", Offset = "0x67EB80", VA = "0x18067FD80")]
public EncoderParameter(Encoder encoder, long value)
{
}
// Token: 0x04000161 RID: 353
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000161")]
private Guid _parameterGuid;
// Token: 0x04000162 RID: 354
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000162")]
private int _numberOfValues;
// Token: 0x04000163 RID: 355
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000163")]
private EncoderParameterValueType _parameterValueType;
// Token: 0x04000164 RID: 356
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000164")]
private IntPtr _parameterValue;
}
}
@@ -0,0 +1,44 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Used to specify the data type of the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> used with the <see cref="Overload:System.Drawing.Image.Save" /> or <see cref="Overload:System.Drawing.Image.SaveAdd" /> method of an image.</summary>
// Token: 0x0200003D RID: 61
[Token(Token = "0x200003D")]
public enum EncoderParameterValueType
{
/// <summary>Specifies that each value in the array is an 8-bit unsigned integer.</summary>
// Token: 0x04000166 RID: 358
[Token(Token = "0x4000166")]
ValueTypeByte = 1,
/// <summary>Specifies that the array of values is a null-terminated ASCII character string. Note that the <see langword="NumberOfValues" /> data member of the <see cref="T:System.Drawing.Imaging.EncoderParameter" /> object indicates the length of the character string including the NULL terminator.</summary>
// Token: 0x04000167 RID: 359
[Token(Token = "0x4000167")]
ValueTypeAscii,
/// <summary>Specifies that each value in the array is a 16-bit, unsigned integer.</summary>
// Token: 0x04000168 RID: 360
[Token(Token = "0x4000168")]
ValueTypeShort,
/// <summary>Specifies that each value in the array is a 32-bit unsigned integer.</summary>
// Token: 0x04000169 RID: 361
[Token(Token = "0x4000169")]
ValueTypeLong,
/// <summary>Specifies that each value in the array is a pair of 32-bit unsigned integers. Each pair represents a fraction, the first integer being the numerator and the second integer being the denominator.</summary>
// Token: 0x0400016A RID: 362
[Token(Token = "0x400016A")]
ValueTypeRational,
/// <summary>Specifies that each value in the array is a pair of 32-bit unsigned integers. Each pair represents a range of numbers.</summary>
// Token: 0x0400016B RID: 363
[Token(Token = "0x400016B")]
ValueTypeLongRange,
/// <summary>Specifies that the array of values is an array of bytes that has no data type defined.</summary>
// Token: 0x0400016C RID: 364
[Token(Token = "0x400016C")]
ValueTypeUndefined,
/// <summary>Specifies that each value in the array is a set of four, 32-bit unsigned integers. The first two integers represent one fraction, and the second two integers represent a second fraction. The two fractions represent a range of rational numbers. The first fraction is the smallest rational number in the range, and the second fraction is the largest rational number in the range.</summary>
// Token: 0x0400016D RID: 365
[Token(Token = "0x400016D")]
ValueTypeRationalRange
}
}
@@ -0,0 +1,56 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Encapsulates an array of <see cref="T:System.Drawing.Imaging.EncoderParameter" /> objects.</summary>
// Token: 0x0200003E RID: 62
[Token(Token = "0x200003E")]
public sealed class EncoderParameters : IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.EncoderParameters" /> class that can contain the specified number of <see cref="T:System.Drawing.Imaging.EncoderParameter" /> objects.</summary>
/// <param name="count">An integer that specifies the number of <see cref="T:System.Drawing.Imaging.EncoderParameter" /> objects that the <see cref="T:System.Drawing.Imaging.EncoderParameters" /> object can contain.</param>
// Token: 0x0600013F RID: 319 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600013F")]
[Address(RVA = "0x680290", Offset = "0x67F090", VA = "0x180680290")]
public EncoderParameters(int count)
{
}
/// <summary>Gets or sets an array of <see cref="T:System.Drawing.Imaging.EncoderParameter" /> objects.</summary>
/// <returns>The array of <see cref="T:System.Drawing.Imaging.EncoderParameter" /> objects.</returns>
// Token: 0x17000024 RID: 36
// (get) Token: 0x06000140 RID: 320 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000024")]
public EncoderParameter[] Param
{
[Token(Token = "0x6000140")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x06000141 RID: 321 RVA: 0x00002718 File Offset: 0x00000918
[Token(Token = "0x6000141")]
[Address(RVA = "0x67FF00", Offset = "0x67ED00", VA = "0x18067FF00")]
internal IntPtr ConvertToMemory()
{
return 0;
}
/// <summary>Releases all resources used by this <see cref="T:System.Drawing.Imaging.EncoderParameters" /> object.</summary>
// Token: 0x06000142 RID: 322 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000142")]
[Address(RVA = "0x680210", Offset = "0x67F010", VA = "0x180680210", Slot = "4")]
public void Dispose()
{
}
// Token: 0x0400016E RID: 366
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400016E")]
private EncoderParameter[] _param;
}
}
@@ -0,0 +1,49 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Provides attributes of an image encoder/decoder (codec).</summary>
// Token: 0x0200003F RID: 63
[Token(Token = "0x200003F")]
[Flags]
public enum ImageCodecFlags
{
/// <summary>The codec supports encoding (saving).</summary>
// Token: 0x04000170 RID: 368
[Token(Token = "0x4000170")]
Encoder = 1,
/// <summary>The codec supports decoding (reading).</summary>
// Token: 0x04000171 RID: 369
[Token(Token = "0x4000171")]
Decoder = 2,
/// <summary>The codec supports raster images (bitmaps).</summary>
// Token: 0x04000172 RID: 370
[Token(Token = "0x4000172")]
SupportBitmap = 4,
/// <summary>The codec supports vector images (metafiles).</summary>
// Token: 0x04000173 RID: 371
[Token(Token = "0x4000173")]
SupportVector = 8,
/// <summary>The encoder requires a seekable output stream.</summary>
// Token: 0x04000174 RID: 372
[Token(Token = "0x4000174")]
SeekableEncode = 16,
/// <summary>The decoder has blocking behavior during the decoding process.</summary>
// Token: 0x04000175 RID: 373
[Token(Token = "0x4000175")]
BlockingDecode = 32,
/// <summary>The codec is built into GDI+.</summary>
// Token: 0x04000176 RID: 374
[Token(Token = "0x4000176")]
Builtin = 65536,
/// <summary>Not used.</summary>
// Token: 0x04000177 RID: 375
[Token(Token = "0x4000177")]
System = 131072,
/// <summary>Not used.</summary>
// Token: 0x04000178 RID: 376
[Token(Token = "0x4000178")]
User = 262144
}
}
@@ -0,0 +1,285 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>The <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> class provides the necessary storage members and methods to retrieve all pertinent information about the installed image encoders and decoders (called codecs). Not inheritable.</summary>
// Token: 0x02000040 RID: 64
[Token(Token = "0x2000040")]
public sealed class ImageCodecInfo
{
// Token: 0x06000143 RID: 323 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000143")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
internal ImageCodecInfo()
{
}
/// <summary>Gets or sets a <see cref="T:System.Guid" /> structure that contains a GUID that identifies a specific codec.</summary>
/// <returns>A <see cref="T:System.Guid" /> structure that contains a GUID that identifies a specific codec.</returns>
// Token: 0x17000025 RID: 37
// (get) Token: 0x06000144 RID: 324 RVA: 0x00002730 File Offset: 0x00000930
// (set) Token: 0x06000145 RID: 325 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000025")]
public Guid Clsid
{
[Token(Token = "0x6000144")]
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
get
{
return default(Guid);
}
[Token(Token = "0x6000145")]
[Address(RVA = "0x687260", Offset = "0x686060", VA = "0x180687260")]
set
{
}
}
/// <summary>Gets or sets a <see cref="T:System.Guid" /> structure that contains a GUID that identifies the codec's format.</summary>
/// <returns>A <see cref="T:System.Guid" /> structure that contains a GUID that identifies the codec's format.</returns>
// Token: 0x17000026 RID: 38
// (get) Token: 0x06000146 RID: 326 RVA: 0x00002748 File Offset: 0x00000948
// (set) Token: 0x06000147 RID: 327 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000026")]
public Guid FormatID
{
[Token(Token = "0x6000146")]
[Address(RVA = "0x63E1A0", Offset = "0x63CFA0", VA = "0x18063E1A0")]
get
{
return default(Guid);
}
[Token(Token = "0x6000147")]
[Address(RVA = "0x63E260", Offset = "0x63D060", VA = "0x18063E260")]
set
{
}
}
/// <summary>Gets or sets a string that contains the name of the codec.</summary>
/// <returns>A string that contains the name of the codec.</returns>
// Token: 0x17000027 RID: 39
// (set) Token: 0x06000148 RID: 328 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000027")]
public string CodecName
{
[Token(Token = "0x6000148")]
[Address(RVA = "0x4437E0", Offset = "0x4425E0", VA = "0x1804437E0")]
set
{
}
}
/// <summary>Gets or sets string that contains the path name of the DLL that holds the codec. If the codec is not in a DLL, this pointer is <see langword="null" />.</summary>
/// <returns>A string that contains the path name of the DLL that holds the codec.</returns>
// Token: 0x17000028 RID: 40
// (set) Token: 0x06000149 RID: 329 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000028")]
public string DllName
{
[Token(Token = "0x6000149")]
[Address(RVA = "0x5329E0", Offset = "0x5317E0", VA = "0x1805329E0")]
set
{
}
}
/// <summary>Gets or sets a string that describes the codec's file format.</summary>
/// <returns>A string that describes the codec's file format.</returns>
// Token: 0x17000029 RID: 41
// (set) Token: 0x0600014A RID: 330 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000029")]
public string FormatDescription
{
[Token(Token = "0x600014A")]
[Address(RVA = "0x403B30", Offset = "0x402930", VA = "0x180403B30")]
set
{
}
}
/// <summary>Gets or sets string that contains the file name extension(s) used in the codec. The extensions are separated by semicolons.</summary>
/// <returns>A string that contains the file name extension(s) used in the codec.</returns>
// Token: 0x1700002A RID: 42
// (set) Token: 0x0600014B RID: 331 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002A")]
public string FilenameExtension
{
[Token(Token = "0x600014B")]
[Address(RVA = "0x46AA50", Offset = "0x469850", VA = "0x18046AA50")]
set
{
}
}
/// <summary>Gets or sets a string that contains the codec's Multipurpose Internet Mail Extensions (MIME) type.</summary>
/// <returns>A string that contains the codec's Multipurpose Internet Mail Extensions (MIME) type.</returns>
// Token: 0x1700002B RID: 43
// (set) Token: 0x0600014C RID: 332 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002B")]
public string MimeType
{
[Token(Token = "0x600014C")]
[Address(RVA = "0x46AB00", Offset = "0x469900", VA = "0x18046AB00")]
set
{
}
}
/// <summary>Gets or sets 32-bit value used to store additional information about the codec. This property returns a combination of flags from the <see cref="T:System.Drawing.Imaging.ImageCodecFlags" /> enumeration.</summary>
/// <returns>A 32-bit value used to store additional information about the codec.</returns>
// Token: 0x1700002C RID: 44
// (set) Token: 0x0600014D RID: 333 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002C")]
public ImageCodecFlags Flags
{
[Token(Token = "0x600014D")]
[Address(RVA = "0x568560", Offset = "0x567360", VA = "0x180568560")]
set
{
}
}
/// <summary>Gets or sets the version number of the codec.</summary>
/// <returns>The version number of the codec.</returns>
// Token: 0x1700002D RID: 45
// (set) Token: 0x0600014E RID: 334 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002D")]
public int Version
{
[Token(Token = "0x600014E")]
[Address(RVA = "0x687280", Offset = "0x686080", VA = "0x180687280")]
set
{
}
}
/// <summary>Gets or sets a two dimensional array of bytes that represents the signature of the codec.</summary>
/// <returns>A two dimensional array of bytes that represents the signature of the codec.</returns>
// Token: 0x1700002E RID: 46
// (get) Token: 0x0600014F RID: 335 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000150 RID: 336 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002E")]
[CLSCompliant(false)]
public byte[][] SignaturePatterns
{
[Token(Token = "0x600014F")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0")]
get
{
return null;
}
[Token(Token = "0x6000150")]
[Address(RVA = "0x567490", Offset = "0x566290", VA = "0x180567490")]
set
{
}
}
/// <summary>Gets or sets a two dimensional array of bytes that can be used as a filter.</summary>
/// <returns>A two dimensional array of bytes that can be used as a filter.</returns>
// Token: 0x1700002F RID: 47
// (get) Token: 0x06000151 RID: 337 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000152 RID: 338 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700002F")]
[CLSCompliant(false)]
public byte[][] SignatureMasks
{
[Token(Token = "0x6000151")]
[Address(RVA = "0x423E10", Offset = "0x422C10", VA = "0x180423E10")]
get
{
return null;
}
[Token(Token = "0x6000152")]
[Address(RVA = "0x687270", Offset = "0x686070", VA = "0x180687270")]
set
{
}
}
/// <summary>Returns an array of <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> objects that contain information about the image decoders built into GDI+.</summary>
/// <returns>An array of <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> objects. Each <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> object in the array contains information about one of the built-in image decoders.</returns>
// Token: 0x06000153 RID: 339 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000153")]
[Address(RVA = "0x686D20", Offset = "0x685B20", VA = "0x180686D20")]
public static ImageCodecInfo[] GetImageDecoders()
{
return null;
}
/// <summary>Returns an array of <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> objects that contain information about the image encoders built into GDI+.</summary>
/// <returns>An array of <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> objects. Each <see cref="T:System.Drawing.Imaging.ImageCodecInfo" /> object in the array contains information about one of the built-in image encoders.</returns>
// Token: 0x06000154 RID: 340 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000154")]
[Address(RVA = "0x686FC0", Offset = "0x685DC0", VA = "0x180686FC0")]
public static ImageCodecInfo[] GetImageEncoders()
{
return null;
}
// Token: 0x06000155 RID: 341 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000155")]
[Address(RVA = "0x686700", Offset = "0x685500", VA = "0x180686700")]
private static ImageCodecInfo[] ConvertFromMemory(IntPtr memoryStart, int numCodecs)
{
return null;
}
// Token: 0x04000179 RID: 377
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000179")]
private Guid _clsid;
// Token: 0x0400017A RID: 378
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400017A")]
private Guid _formatID;
// Token: 0x0400017B RID: 379
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400017B")]
private string _codecName;
// Token: 0x0400017C RID: 380
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400017C")]
private string _dllName;
// Token: 0x0400017D RID: 381
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400017D")]
private string _formatDescription;
// Token: 0x0400017E RID: 382
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400017E")]
private string _filenameExtension;
// Token: 0x0400017F RID: 383
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400017F")]
private string _mimeType;
// Token: 0x04000180 RID: 384
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000180")]
private ImageCodecFlags _flags;
// Token: 0x04000181 RID: 385
[FieldOffset(Offset = "0x5C")]
[Token(Token = "0x4000181")]
private int _version;
// Token: 0x04000182 RID: 386
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000182")]
private byte[][] _signaturePatterns;
// Token: 0x04000183 RID: 387
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000183")]
private byte[][] _signatureMasks;
}
}
@@ -0,0 +1,84 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
// Token: 0x02000041 RID: 65
[Token(Token = "0x2000041")]
[StructLayout(0, Pack = 8, Size = 104)]
internal class ImageCodecInfoPrivate
{
// Token: 0x06000156 RID: 342 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000156")]
[Address(RVA = "0x6866A0", Offset = "0x6854A0", VA = "0x1806866A0")]
public ImageCodecInfoPrivate()
{
}
// Token: 0x04000184 RID: 388
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000184")]
public Guid Clsid;
// Token: 0x04000185 RID: 389
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000185")]
public Guid FormatID;
// Token: 0x04000186 RID: 390
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000186")]
public IntPtr CodecName;
// Token: 0x04000187 RID: 391
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000187")]
public IntPtr DllName;
// Token: 0x04000188 RID: 392
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000188")]
public IntPtr FormatDescription;
// Token: 0x04000189 RID: 393
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000189")]
public IntPtr FilenameExtension;
// Token: 0x0400018A RID: 394
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400018A")]
public IntPtr MimeType;
// Token: 0x0400018B RID: 395
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400018B")]
public int Flags;
// Token: 0x0400018C RID: 396
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
[Token(Token = "0x400018C")]
public int Version;
// Token: 0x0400018D RID: 397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400018D")]
public int SigCount;
// Token: 0x0400018E RID: 398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
[Token(Token = "0x400018E")]
public int SigSize;
// Token: 0x0400018F RID: 399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400018F")]
public IntPtr SigPattern;
// Token: 0x04000190 RID: 400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000190")]
public IntPtr SigMask;
}
}
@@ -0,0 +1,166 @@
using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Specifies the file format of the image. Not inheritable.</summary>
// Token: 0x02000043 RID: 67
[Token(Token = "0x2000043")]
[TypeConverter]
public sealed class ImageFormat
{
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Imaging.ImageFormat" /> class by using the specified <see cref="T:System.Guid" /> structure.</summary>
/// <param name="guid">The <see cref="T:System.Guid" /> structure that specifies a particular image format.</param>
// Token: 0x06000157 RID: 343 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000157")]
[Address(RVA = "0x680880", Offset = "0x67F680", VA = "0x180680880")]
public ImageFormat(Guid guid)
{
}
// Token: 0x06000158 RID: 344 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000158")]
[Address(RVA = "0x6873F0", Offset = "0x6861F0", VA = "0x1806873F0")]
private ImageFormat(string name, string guid)
{
}
/// <summary>Returns a value that indicates whether the specified object is an <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that is equivalent to this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</summary>
/// <param name="o">The object to test.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="o" /> is an <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that is equivalent to this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000159 RID: 345 RVA: 0x00002760 File Offset: 0x00000960
[Token(Token = "0x6000159")]
[Address(RVA = "0x687290", Offset = "0x686090", VA = "0x180687290", Slot = "0")]
public override bool Equals(object o)
{
return default(bool);
}
/// <summary>Returns a hash code value that represents this object.</summary>
/// <returns>A hash code that represents this object.</returns>
// Token: 0x0600015A RID: 346 RVA: 0x00002778 File Offset: 0x00000978
[Token(Token = "0x600015A")]
[Address(RVA = "0x687320", Offset = "0x686120", VA = "0x180687320", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object to a human-readable string.</summary>
/// <returns>A string that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</returns>
// Token: 0x0600015B RID: 347 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600015B")]
[Address(RVA = "0x687330", Offset = "0x686130", VA = "0x180687330", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Gets a <see cref="T:System.Guid" /> structure that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</summary>
/// <returns>A <see cref="T:System.Guid" /> structure that represents this <see cref="T:System.Drawing.Imaging.ImageFormat" /> object.</returns>
// Token: 0x17000030 RID: 48
// (get) Token: 0x0600015C RID: 348 RVA: 0x00002790 File Offset: 0x00000990
[Token(Token = "0x17000030")]
public Guid Guid
{
[Token(Token = "0x600015C")]
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
get
{
return default(Guid);
}
}
/// <summary>Gets the Windows icon image format.</summary>
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the Windows icon image format.</returns>
// Token: 0x17000031 RID: 49
// (get) Token: 0x0600015D RID: 349 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000031")]
public static ImageFormat Icon
{
[Token(Token = "0x600015D")]
[Address(RVA = "0x687450", Offset = "0x686250", VA = "0x180687450")]
get
{
return null;
}
}
/// <summary>Gets the Joint Photographic Experts Group (JPEG) image format.</summary>
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the JPEG image format.</returns>
// Token: 0x17000032 RID: 50
// (get) Token: 0x0600015E RID: 350 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000032")]
public static ImageFormat Jpeg
{
[Token(Token = "0x600015E")]
[Address(RVA = "0x687610", Offset = "0x686410", VA = "0x180687610")]
get
{
return null;
}
}
/// <summary>Gets the format of a bitmap in memory.</summary>
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the format of a bitmap in memory.</returns>
// Token: 0x17000033 RID: 51
// (get) Token: 0x0600015F RID: 351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000033")]
public static ImageFormat MemoryBmp
{
[Token(Token = "0x600015F")]
[Address(RVA = "0x6877D0", Offset = "0x6865D0", VA = "0x1806877D0")]
get
{
return null;
}
}
/// <summary>Gets the W3C Portable Network Graphics (PNG) image format.</summary>
/// <returns>An <see cref="T:System.Drawing.Imaging.ImageFormat" /> object that indicates the PNG image format.</returns>
// Token: 0x17000034 RID: 52
// (get) Token: 0x06000160 RID: 352 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000034")]
public static ImageFormat Png
{
[Token(Token = "0x6000160")]
[Address(RVA = "0x687990", Offset = "0x686790", VA = "0x180687990")]
get
{
return null;
}
}
// Token: 0x040001A9 RID: 425
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40001A9")]
private Guid guid;
// Token: 0x040001AA RID: 426
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40001AA")]
private string name;
// Token: 0x040001AB RID: 427
[Token(Token = "0x40001AB")]
private static object locker;
// Token: 0x040001AC RID: 428
[Token(Token = "0x40001AC")]
private static ImageFormat PngImageFormat;
// Token: 0x040001AD RID: 429
[Token(Token = "0x40001AD")]
private static ImageFormat MemoryBmpImageFormat;
// Token: 0x040001AE RID: 430
[Token(Token = "0x40001AE")]
private static ImageFormat IconImageFormat;
// Token: 0x040001AF RID: 431
[Token(Token = "0x40001AF")]
private static ImageFormat JpegImageFormat;
}
}
@@ -0,0 +1,32 @@
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.IO;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Defines a graphic metafile. A metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed). This class is not inheritable.</summary>
// Token: 0x02000044 RID: 68
[Token(Token = "0x2000044")]
[Editor]
[Editor("System.Drawing.Design.MetafileEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
[MonoTODO("Metafiles, both WMF and EMF formats, are only partially supported.")]
[Serializable]
public sealed class Metafile : Image
{
// Token: 0x06000162 RID: 354 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000162")]
[Address(RVA = "0x67D480", Offset = "0x67C280", VA = "0x18067D480")]
internal Metafile(IntPtr ptr)
{
}
// Token: 0x06000163 RID: 355 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000163")]
[Address(RVA = "0x68CF40", Offset = "0x68BD40", VA = "0x18068CF40")]
internal Metafile(IntPtr ptr, Stream stream)
{
}
}
}
@@ -0,0 +1,104 @@
using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Specifies the format of the color data for each pixel in the image.</summary>
// Token: 0x02000042 RID: 66
[Token(Token = "0x2000042")]
public enum PixelFormat
{
/// <summary>The pixel data contains color-indexed values, which means the values are an index to colors in the system color table, as opposed to individual color values.</summary>
// Token: 0x04000192 RID: 402
[Token(Token = "0x4000192")]
Indexed = 65536,
/// <summary>The pixel data contains GDI colors.</summary>
// Token: 0x04000193 RID: 403
[Token(Token = "0x4000193")]
Gdi = 131072,
/// <summary>The pixel data contains alpha values that are not premultiplied.</summary>
// Token: 0x04000194 RID: 404
[Token(Token = "0x4000194")]
Alpha = 262144,
/// <summary>The pixel format contains premultiplied alpha values.</summary>
// Token: 0x04000195 RID: 405
[Token(Token = "0x4000195")]
PAlpha = 524288,
/// <summary>Reserved.</summary>
// Token: 0x04000196 RID: 406
[Token(Token = "0x4000196")]
Extended = 1048576,
/// <summary>The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit alpha channel.</summary>
// Token: 0x04000197 RID: 407
[Token(Token = "0x4000197")]
Canonical = 2097152,
/// <summary>The pixel format is undefined.</summary>
// Token: 0x04000198 RID: 408
[Token(Token = "0x4000198")]
Undefined = 0,
/// <summary>No pixel format is specified.</summary>
// Token: 0x04000199 RID: 409
[Token(Token = "0x4000199")]
DontCare = 0,
/// <summary>Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.</summary>
// Token: 0x0400019A RID: 410
[Token(Token = "0x400019A")]
Format1bppIndexed = 196865,
/// <summary>Specifies that the format is 4 bits per pixel, indexed.</summary>
// Token: 0x0400019B RID: 411
[Token(Token = "0x400019B")]
Format4bppIndexed = 197634,
/// <summary>Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.</summary>
// Token: 0x0400019C RID: 412
[Token(Token = "0x400019C")]
Format8bppIndexed = 198659,
/// <summary>The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.</summary>
// Token: 0x0400019D RID: 413
[Token(Token = "0x400019D")]
Format16bppGrayScale = 1052676,
/// <summary>Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.</summary>
// Token: 0x0400019E RID: 414
[Token(Token = "0x400019E")]
Format16bppRgb555 = 135173,
/// <summary>Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.</summary>
// Token: 0x0400019F RID: 415
[Token(Token = "0x400019F")]
Format16bppRgb565,
/// <summary>The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha.</summary>
// Token: 0x040001A0 RID: 416
[Token(Token = "0x40001A0")]
Format16bppArgb1555 = 397319,
/// <summary>Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.</summary>
// Token: 0x040001A1 RID: 417
[Token(Token = "0x40001A1")]
Format24bppRgb = 137224,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.</summary>
// Token: 0x040001A2 RID: 418
[Token(Token = "0x40001A2")]
Format32bppRgb = 139273,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.</summary>
// Token: 0x040001A3 RID: 419
[Token(Token = "0x40001A3")]
Format32bppArgb = 2498570,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied, according to the alpha component.</summary>
// Token: 0x040001A4 RID: 420
[Token(Token = "0x40001A4")]
Format32bppPArgb = 925707,
/// <summary>Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.</summary>
// Token: 0x040001A5 RID: 421
[Token(Token = "0x40001A5")]
Format48bppRgb = 1060876,
/// <summary>Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.</summary>
// Token: 0x040001A6 RID: 422
[Token(Token = "0x40001A6")]
Format64bppArgb = 3424269,
/// <summary>Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.</summary>
// Token: 0x040001A7 RID: 423
[Token(Token = "0x40001A7")]
Format64bppPArgb = 1851406,
/// <summary>The maximum value for this enumeration.</summary>
// Token: 0x040001A8 RID: 424
[Token(Token = "0x40001A8")]
Max = 15
}
}