286 lines
10 KiB
C#
286 lines
10 KiB
C#
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;
|
|
}
|
|
}
|