### ExifUInt.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifUInt.html Gets the ExifInterOperability representation of this property. ```APIDOC ## ExifUInt.Interoperability Property ### Description Gets the interoperability information for this Exif property. ### Property `public override ExifInterOperability Interoperability { get; }` ### Property Value Type: ExifInterOperability ``` -------------------------------- ### ExifFloat.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifFloat.html Gets the interoperability information for this EXIF property. ```APIDOC ## ExifFloat.Interoperability Property ### Description Gets the interoperability information for this EXIF property. ### Property Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value - **Type**: ExifInterOperability - **Description**: The interoperability data. ``` -------------------------------- ### Count Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifInterOperability.html Gets the byte count or number of components. ```APIDOC ## Property: Count ### Description Gets the byte count or number of components. ### Declaration ```csharp public uint Count { get; } ``` ### Property Value - **Type**: System.UInt32 ``` -------------------------------- ### Item[Int32] Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Gets or sets the Exif property with the given key. ```APIDOC ## Item[Int32] Property ### Description Gets or sets the Exif property with the given key. ### Declaration ```csharp public ExifProperty this[int index] { get; set; } ``` ### Parameters - **index** (System.Int32) - The index of the Exif property. ``` -------------------------------- ### Read EXIF metadata with ImageFile.FromFile and typed Get Source: https://oozcitak.github.io/exiflibrary/index.html Reads an image file with ImageFile.FromFile and retrieves EXIF properties using typed getters: ExifUShort for ISO speed, ExifEnumProperty for flash, and GPSLatitudeLongitude for GPS latitude. Note that the flash and latitude examples reference a variable named 'data' that is not defined in this snippet. ```csharp var file = ImageFile.FromFile("path_to_image"); // the type of the ISO speed rating tag value is unsigned short // see documentation for tag data types var isoTag = file.Properties.Get(ExifTag.ISOSpeedRatings); // the flash tag's value is an enum var flashTag = data.Properties.Get>(ExifTag.Flash); // GPS latitude is a custom type with three rational values // representing degrees/minutes/seconds of the latitude var latTag = data.Properties.Get(ExifTag.GPSLatitude); ``` -------------------------------- ### GIFApplicationExtension Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFApplicationExtension.html Initializes a new instance of the GIFApplicationExtension class. ```APIDOC ## GIFApplicationExtension() ### Description Initializes a new instance of the GIFApplicationExtension class. ### Declaration ```csharp public GIFApplicationExtension() ``` ``` -------------------------------- ### Get(ExifTag) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifPropertyCollection-1.html Gets the ExifProperty with the specified key. ```APIDOC ## Get(ExifTag) ### Description Gets the ExifProperty with the specified key. ### Declaration ```csharp public ExifProperty Get(ExifTag key) ``` ### Parameters - **key** (ExifTag) - The tag to get. ### Returns - **ExifProperty** - The item with the given tag cast to the specified type. If the tag does not exist, or it cannot be cast to the given type it returns null. ``` -------------------------------- ### ImageFileDirectory() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFileDirectory.html Initializes a new instance of the ImageFileDirectory class. ```APIDOC ## ImageFileDirectory() ### Description Initializes a new instance of the ImageFileDirectory class. ### Declaration csharp public ImageFileDirectory() ``` -------------------------------- ### ImageFile() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Constructor for the ImageFile class. Protected, so only derived classes can instantiate. ```APIDOC ## ImageFile() ### Description Initializes a new instance of the ImageFile class. ### Declaration ```csharp protected ImageFile() ``` ``` -------------------------------- ### Get DateTime with Non-Generic Get Source: https://oozcitak.github.io/exiflibrary/articles/Properties.html Uses the non-generic Get method to retrieve an ExifProperty and then casts to ExifDateTime to obtain the DateTime value. Useful for properties where the data type is known. ```csharp var file = ImageFile.FromFile("path_to_image"); ExifProperty tag = file.Properties.Get(ExifTag.DateTime); DateTime dateTime = (tag as ExifDateTime).Value; ``` -------------------------------- ### PNGFile Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGFile.html Initializes a new instance of the PNGFile class from a data stream and an encoding for text metadata. ```APIDOC ## Constructor: PNGFile(MemoryStream, Encoding) ### Description Initializes a new instance of the PNGFile class from the specified data stream. ### Declaration ```csharp protected PNGFile(MemoryStream stream, Encoding encoding) ``` ### Parameters - **stream** (System.IO.MemoryStream) - Required - A stream that contains image data. - **encoding** (System.Text.Encoding) - Required - The encoding to be used for text metadata when the source encoding is unknown. ``` -------------------------------- ### Get(ExifTag) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifPropertyCollection-1.html Gets the ExifProperty with the specified key, cast to type U. ```APIDOC ## Get(ExifTag) ### Description Gets the ExifProperty with the specified key. ### Declaration ```csharp public U Get(ExifTag key) where U : ExifProperty ``` ### Parameters - **key** (ExifTag) - The tag to get. ### Type Parameters - **U** - ### Returns - **U** - The item with the given tag cast to the specified type. If the tag does not exist, or it cannot be cast to the given type it returns null. ``` -------------------------------- ### ExifBitConverter Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifBitConverter.html Initializes a new instance of the ExifBitConverter class with specified byte order conversion. ```APIDOC ## ExifBitConverter(BitConverterEx.ByteOrder from, BitConverterEx.ByteOrder to) ### Description Intializes a new instance of the ExifBitConverter class. ### Method Constructor ### Parameters - **from** (BitConverterEx.ByteOrder) - Required - The byte order to convert from. - **to** (BitConverterEx.ByteOrder) - Required - The byte order to convert to. ### Declaration ```csharp public ExifBitConverter(BitConverterEx.ByteOrder from, BitConverterEx.ByteOrder to) ``` ``` -------------------------------- ### Get GPS Latitude with Custom Type Source: https://oozcitak.github.io/exiflibrary/articles/Properties.html Retrieves the GPS latitude as a custom GPSLatitudeLongitude type. Use Get with the ExifTag.GPSLatitude identifier. ```csharp var file = ImageFile.FromFile("path_to_image"); var latTag = file.Properties.Get(ExifTag.GPSLatitude); ``` -------------------------------- ### GIFExtensionBlock(byte label) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFExtensionBlock.html Initializes a new instance of the GIFExtensionBlock class with the specified extension label. ```APIDOC ## GIFExtensionBlock(byte label) ### Description Initializes a new instance of the GIFExtensionBlock class. ### Constructor ```csharp public GIFExtensionBlock(byte label) ``` ### Parameters - **label** (System.Byte) - Extension label ``` -------------------------------- ### Get Flash Property with ExifEnumProperty Source: https://oozcitak.github.io/exiflibrary/articles/Properties.html Retrieves the flash property as an enum value. Use Get> with the ExifTag.Flash identifier after loading the image file. ```csharp var file = ImageFile.FromFile("path_to_image"); var flashTag = file.Properties.Get>(ExifTag.Flash); ``` -------------------------------- ### Get ISO Speed Rating with ExifUShort Source: https://oozcitak.github.io/exiflibrary/articles/Properties.html Retrieves the ISO speed rating metadata value as an unsigned short. Obtain an ImageFile instance first, then use the generic Get method with the ExifTag.ISOSpeedRatings identifier. ```csharp var file = ImageFile.FromFile("path_to_image"); var isoTag = file.Properties.Get(ExifTag.ISOSpeedRatings); ``` -------------------------------- ### ExifUInt Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifUInt.html Initializes a new instance of the ExifUInt class with a specified ExifTag and uint value. ```APIDOC ## ExifUInt(ExifTag, UInt32) ### Description Initializes a new instance of the ExifUInt class with the specified tag and value. ### Constructor `public ExifUInt(ExifTag tag, uint value)` ### Parameters - **tag** (ExifTag) - The Exif tag associated with this property. - **value** (System.UInt32) - The 32-bit unsigned integer value. ``` -------------------------------- ### Fraction32(MathEx.Fraction32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Initializes a new instance of the Fraction32 struct from an existing Fraction32. ```APIDOC ## Fraction32(MathEx.Fraction32) ### Description Initializes a new instance of the Fraction32 struct from an existing Fraction32. ### Declaration ```csharp public Fraction32(MathEx.Fraction32 f) ``` ### Parameters - **f** (MathEx.Fraction32) - The source fraction. ``` -------------------------------- ### Reserved Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFGraphicControlExtension.html Gets the reserved bits. ```APIDOC ## Reserved ### Description Gets the reserved bits. ### Property Value - **Type**: System.Byte ### Declaration ```csharp public byte Reserved { get; set; } ``` ``` -------------------------------- ### Separator Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFBlock.html Gets the block separator. ```APIDOC ## Separator ### Description Gets the block separator. ### Declaration ```csharp public GIFSeparator Separator { get; } ``` ### Property Value - **GIFSeparator** - The block separator. ``` -------------------------------- ### ExifSByte(ExifTag, SByte) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSByte.html Initializes a new instance of the ExifSByte class with the specified tag and value. ```APIDOC ## Constructor ExifSByte(ExifTag, SByte) ### Description Initializes a new instance of the ExifSByte class with the specified tag and value. ### Declaration ```csharp public ExifSByte(ExifTag tag, sbyte value) ``` ### Parameters - **tag** (ExifTag) - The EXIF tag associated with this property. - **value** (System.SByte) - The 8-bit signed integer value. ``` -------------------------------- ### Read image file with FromFile and iterate properties Source: https://oozcitak.github.io/exiflibrary/articles/ReadFile.html Use ImageFile.FromFile to load an image from a file path, then iterate over its Properties collection to print each property name. The method is static and synchronous. ```csharp var file = ImageFile.FromFile("path_to_image"); foreach(var property in file.Properties) { Console.WriteLine(property.Name); } ``` -------------------------------- ### Numerator Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Gets or sets the numerator. ```APIDOC ## Numerator Property ### Description Gets or sets the numerator. ### Declaration ```csharp public int Numerator { get; set; } ``` ### Property Value - **Type**: System.Int32 ``` -------------------------------- ### GIFGraphicControlExtension() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFGraphicControlExtension.html Initializes a new instance of the GIFGraphicControlExtension class. ```APIDOC ## GIFGraphicControlExtension() ### Description Initializes a new instance of the GIFGraphicControlExtension class. ### Method Constructor ### Syntax ```csharp public GIFGraphicControlExtension() ``` ``` -------------------------------- ### Error Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Gets the error term. ```APIDOC ## Error Property ### Description Gets the error term. ### Declaration ```csharp public double Error { get; } ``` ### Property Value - **Type**: System.Double ``` -------------------------------- ### Denominator Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Gets or sets the denominator. ```APIDOC ## Denominator Property ### Description Gets or sets the denominator. ### Declaration ```csharp public int Denominator { get; set; } ``` ### Property Value - **Type**: System.Int32 ``` -------------------------------- ### GIFCommentExtension() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFCommentExtension.html Initializes a new instance of the GIFCommentExtension class. ```APIDOC ## GIFCommentExtension() ### Description Initializes a new instance of the GIFCommentExtension class. ### Method Constructor ### Syntax ```csharp public GIFCommentExtension() ``` ### Parameters None. ### Returns A new instance of the GIFCommentExtension class. ``` -------------------------------- ### TIFFFile.TIFFHeader Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.TIFFFile.html Gets the TIFF header. ```APIDOC ## TIFFHeader Property ### Description Gets the TIFF header. ### Declaration ```csharp public TIFFHeader TIFFHeader { get; } ``` ### Property Value - **Type**: TIFFHeader ``` -------------------------------- ### ExifURationalArray Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifURationalArray.html Initializes a new instance of the ExifURationalArray class with a tag and an array of unsigned rational values. ```APIDOC ## ExifURationalArray(ExifTag tag, MathEx.UFraction32[] value) ### Description Creates a new ExifURationalArray property with the specified tag and value array. ### Parameters - **tag** (ExifTag) - The EXIF tag associated with this property. - **value** (MathEx.UFraction32[]) - An array of unsigned rational values. ### Declaration ```csharp public ExifURationalArray(ExifTag tag, MathEx.UFraction32[] value) ``` ``` -------------------------------- ### ExifFloat Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifFloat.html Initializes a new instance of the ExifFloat class with a specified EXIF tag and float value. ```APIDOC ## ExifFloat(ExifTag, Single) ### Description Initializes a new instance of the ExifFloat class with the specified EXIF tag and float value. ### Method Constructor ### Syntax ```csharp public ExifFloat(ExifTag tag, float value) ``` ### Parameters - **tag** (ExifTag) - The EXIF tag associated with this property. - **value** (System.Single) - The float value to store. ### Returns No return value (constructor). ``` -------------------------------- ### Label Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFExtensionBlock.html Gets the extension label. ```APIDOC ## Label Property ### Description Gets the extension label. ### Declaration ```csharp public GIFExtensionLabel Label { get; set; } ``` ### Property Value - **Type**: GIFExtensionLabel ``` -------------------------------- ### Fraction32(String) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Initializes a new instance of the Fraction32 struct from a string representation. ```APIDOC ## Fraction32(String) ### Description Initializes a new instance of the Fraction32 struct from a string representation. ### Declaration ```csharp public Fraction32(string s) ``` ### Parameters - **s** (System.String) - The string to parse. ``` -------------------------------- ### Data Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFExtensionBlock.html Gets the extension data. ```APIDOC ## Data Property ### Description Gets the extension data. ### Declaration ```csharp public byte[][] Data { get; set; } ``` ### Property Value - **Type**: System.Byte[][] ``` -------------------------------- ### TIFFFile.IFDs Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.TIFFFile.html Gets the image file directories. ```APIDOC ## IFDs Property ### Description Gets the image file directories. ### Declaration ```csharp public List IFDs { get; } ``` ### Property Value - **Type**: System.Collections.Generic.List ``` -------------------------------- ### ToString(String, IFormatProvider) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Returns a string representation of the fraction using a format string and culture-specific formatting information. ```APIDOC ## ToString(String, IFormatProvider) ### Description Returns a string representation of the fraction. ### Declaration ```csharp public string ToString(string format, IFormatProvider formatProvider) ``` ### Parameters | Type | Name | Description | | --- | --- | --- | | System.String | format | A numeric format string. | | System.IFormatProvider | formatProvider | An System.IFormatProvider that supplies culture-specific formatting information. | ### Returns | Type | Description | | --- | --- | | System.String | The string representation of the value of this instance as specified by format and provider. | ### Exceptions | Type | Condition | | --- | --- | | System.FormatException | format is invalid or not supported. | ``` -------------------------------- ### CompareTo(MathEx.Fraction32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Compares this instance to a specified Fraction32 and returns an indication of their relative values. ```APIDOC ## CompareTo(MathEx.Fraction32) ### Description Compares this instance to a specified Fraction32 and returns an indication of their relative values. ### Declaration ```csharp public int CompareTo(MathEx.Fraction32 obj) ``` ### Parameters - **obj** (MathEx.Fraction32) - A fraction to compare with this instance. ### Returns - **Type**: System.Int32 - **Description**: A signed number indicating the relative values of this instance and value. Less than zero: This instance is less than obj. Zero: This instance is equal to obj. Greater than zero: This instance is greater than obj or obj is null. ``` -------------------------------- ### PNGText.Value Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGText.html Gets or sets the text value. ```APIDOC ## PNGText.Value Property ### Description Gets or sets the text value. ### Property Signature public string Value { get; set; } ### Property Value Type: System.String ### Remarks This property is read/write. ``` -------------------------------- ### PNGText.Keyword Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGText.html Gets the keyword associated with the text. ```APIDOC ## PNGText.Keyword Property ### Description Gets the keyword associated with the text. ### Property Signature public string Keyword { get; } ### Property Value Type: System.String ### Remarks This property is read-only. ``` -------------------------------- ### ToString(IFormatProvider) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.UFraction32.html Returns a string representation of the fraction. ```APIDOC ## ToString(IFormatProvider) ### Description Returns a string representation of the fraction. ### Method ToString ### Signature public string ToString(IFormatProvider formatProvider) ### Parameters - **formatProvider** (System.IFormatProvider) - Required - An System.IFormatProvider that supplies culture-specific formatting information. ### Returns - **System.String** - The string representation of the value of this instance as specified by provider. ``` -------------------------------- ### PNGTimeStamp.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGTimeStamp.html Gets the interoperability information for this property. ```APIDOC ## Property: Interoperability ### Description Gets the interoperability information for this property. ### Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value Type: ExifInterOperability ``` -------------------------------- ### ExifDate Class Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifDate.html Documentation for the ExifDate class, including its constructor, properties, methods, and operators. ```APIDOC ## ExifDate Class ### Description Represents an ASCII string formatted as Date. (EXIF Specification: ASCII) Used for date fields. ### Namespace ExifLibrary ### Assembly ExifLibrary.dll ### Syntax ```csharp public class ExifDate : ExifProperty ``` ### Constructors #### ExifDate(ExifTag, DateTime) Initializes a new instance of the ExifDate class. ```csharp public ExifDate(ExifTag tag, DateTime value) ``` **Parameters** | Name | Type | Description | |------|------|-------------| | tag | ExifTag | The EXIF tag. | | value | System.DateTime | The date value. | ### Properties #### Value Gets or sets the date value. ```csharp public DateTime Value { get; set; } ``` **Property Value** | Type | Description | |------|-------------| | System.DateTime | The date value. | #### Interoperability Gets the interoperability information. ```csharp public override ExifInterOperability Interoperability { get; } ``` **Property Value** | Type | Description | |------|-------------| | ExifInterOperability | The interoperability information. | ### Methods #### ToString() Returns a string representation of the date. ```csharp public override string ToString() ``` **Returns** | Type | Description | |------|-------------| | System.String | A string representation of the date. | ### Operators #### Implicit(ExifDate to DateTime) Implicitly converts an ExifDate to a DateTime. ```csharp public static implicit operator DateTime(ExifDate obj) ``` **Parameters** | Name | Type | Description | |------|------|-------------| | obj | ExifDate | The ExifDate to convert. | **Returns** | Type | Description | |------|-------------| | System.DateTime | The converted DateTime. | ``` -------------------------------- ### ToString(IFormatProvider) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Returns a string representation of the fraction using culture-specific formatting information. ```APIDOC ## ToString(IFormatProvider) ### Description Returns a string representation of the fraction. ### Declaration ```csharp public string ToString(IFormatProvider formatProvider) ``` ### Parameters | Type | Name | Description | | --- | --- | --- | | System.IFormatProvider | formatProvider | An System.IFormatProvider that supplies culture-specific formatting information. | ### Returns | Type | Description | | --- | --- | | System.String | The string representation of the value of this instance as specified by provider. | ``` -------------------------------- ### Thumbnail Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Gets or sets the embedded thumbnail image. ```APIDOC ## Thumbnail Property ### Description Gets or sets the embedded thumbnail image. ### Declaration ```csharp public byte[] Thumbnail { get; set; } ``` ### Property Value - **Type**: System.Byte[] ``` -------------------------------- ### IFD0IsEmptyException() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.IFD0IsEmptyException.html Initializes a new instance of the IFD0IsEmptyException class. ```APIDOC ## IFD0IsEmptyException() ### Description Initializes a new instance of the IFD0IsEmptyException class. ### Declaration ```csharp public IFD0IsEmptyException() ``` ### Parameters None. ``` -------------------------------- ### JFIFThumbnail Constructors Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.JFIFThumbnail.html Constructors for initializing a JFIFThumbnail instance. ```APIDOC ## JFIFThumbnail() ### Description Initializes a new instance of the JFIFThumbnail class. ### Declaration ```csharp protected JFIFThumbnail() ``` --- ## JFIFThumbnail(JFIFThumbnail.ImageFormat, Byte[]) ### Description Initializes a new instance of the JFIFThumbnail class with the specified format and data. ### Declaration ```csharp public JFIFThumbnail(JFIFThumbnail.ImageFormat format, byte[] data) ``` ### Parameters #### format - **Type**: JFIFThumbnail.ImageFormat - **Description**: The image format of the thumbnail. #### data - **Type**: System.Byte[] - **Description**: The raw image data. --- ## JFIFThumbnail(Byte[], Byte[]) ### Description Initializes a new instance of the JFIFThumbnail class with the specified palette and data. ### Declaration ```csharp public JFIFThumbnail(byte[] palette, byte[] data) ``` ### Parameters #### palette - **Type**: System.Byte[] - **Description**: The 256 color RGB palette. #### data - **Type**: System.Byte[] - **Description**: The raw image data. ``` -------------------------------- ### Y Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifPointSubjectArea.html Gets or sets the Y coordinate of the subject area. ```APIDOC ## Y Property ### Description Gets or sets the Y coordinate of the subject area. ### Property Value - **Type**: System.UInt16 ### Syntax ```csharp public ushort Y { get; set; } ``` ``` -------------------------------- ### Property: Interoperability Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEnumProperty-1.html Gets the interoperability information for this property. ```APIDOC ## Property: Interoperability ### Description Gets the interoperability information for this property. ### Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value - **ExifInterOperability** - The interoperability information. ``` -------------------------------- ### GIFFile Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFFile.html Initializes a new instance of the GIFFile class from the specified data stream. ```APIDOC ## GIFFile(MemoryStream, Encoding) ### Description Initializes a new instance of the GIFFile class from the specified data stream. ### Method Constructor ### Parameters - **stream** (System.IO.MemoryStream) - Required - A stream that contains image data. - **encoding** (System.Text.Encoding) - Required - The encoding to be used for text metadata when the source encoding is unknown. ### Declaration ```csharp protected GIFFile(MemoryStream stream, Encoding encoding) ``` ``` -------------------------------- ### ExifUIntArray Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifUIntArray.html Initializes a new instance of the ExifUIntArray class with the specified tag and value. ```APIDOC ## ExifUIntArray(ExifTag, UInt32[]) ### Description Initializes a new instance of the ExifUIntArray class with the specified tag and value. ### Declaration ```csharp public ExifUIntArray(ExifTag tag, uint[] value) ``` ### Parameters - **tag** (ExifTag) - Required - The Exif tag associated with this property. - **value** (System.UInt32[]) - Required - The array of 32-bit unsigned integers. ``` -------------------------------- ### Property: Value Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEnumProperty-1.html Gets or sets the enumerated value. ```APIDOC ## Property: Value ### Description Gets or sets the enumerated value. ### Declaration ```csharp public T Value { get; set; } ``` ### Property Value - **T** - The enumerated value. ``` -------------------------------- ### Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifByteArray.html Gets the ExifInterOperability representation of this property. ```APIDOC ## Property Interoperability ### Description Gets the ExifInterOperability representation of this property. ### Syntax ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value Type: ExifInterOperability ``` -------------------------------- ### FromFile(String) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Creates an ImageFile from the specified file. ```APIDOC ## FromFile(String) ### Description Creates an ImageFile from the specified file. ### Declaration ```csharp public static ImageFile FromFile(string filename) ``` ### Parameters - **filename** (System.String) - A string that contains the name of the file. ### Returns - **Type**: ImageFile - The ImageFile created from the file. ``` -------------------------------- ### FromFile(String, Encoding) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Creates an ImageFile from the specified file with a specified encoding. ```APIDOC ## FromFile(String, Encoding) ### Description Creates an ImageFile from the specified file. ### Declaration ```csharp public static ImageFile FromFile(string filename, Encoding encoding) ``` ### Parameters - **filename** (System.String) - A string that contains the name of the file. - **encoding** (System.Text.Encoding) - The encoding to be used for text metadata when the source encoding is unknown. ### Returns - **Type**: ImageFile - The ImageFile created from the file. ``` -------------------------------- ### PNGFile.Chunks Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGFile.html Gets or sets the chunks contained in the PNGFile. ```APIDOC ## Property: Chunks ### Description Gets or sets the chunks contained in the PNGFile. ### Declaration ```csharp public List Chunks { get; } ``` ### Property Value - **Type**: System.Collections.Generic.List ``` -------------------------------- ### Power2(UInt32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.html Raises two to the given power. ```APIDOC ## Power2(UInt32) ### Description Raises two to the given power. ### Method Power2 ### Signature public static int Power2(uint y) ### Parameters - **y** (System.UInt32) - A number that specifies a power. ### Returns - **System.Int32** - The result of raising 2 to the power y. ``` -------------------------------- ### Properties Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Gets the collection of Exif properties contained in the ImageFile. ```APIDOC ## Properties Property ### Description Gets the collection of Exif properties contained in the ImageFile. ### Declaration ```csharp public ExifPropertyCollection Properties { get; } ``` ### Property Value - **Type**: ExifPropertyCollection ``` -------------------------------- ### ExifEncodedString Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEncodedString.html Initializes a new instance of the ExifEncodedString class with the specified tag, value, and encoding. ```APIDOC ## ExifEncodedString(ExifTag, String, Encoding) ### Description Initializes a new instance of the ExifEncodedString class with the specified tag, value, and encoding. ### Method Constructor ### Syntax ```csharp public ExifEncodedString(ExifTag tag, string value, Encoding encoding) ``` ### Parameters - **tag** (ExifTag) - The EXIF tag associated with this property. - **value** (System.String) - The string value. - **encoding** (System.Text.Encoding) - The encoding used for the string. ``` -------------------------------- ### Errors Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Gets the errors encountered while reading/writing the image file. ```APIDOC ## Errors Property ### Description Gets the errors encountered while reading/writing the image file. ### Declaration ```csharp public List Errors { get; protected set; } ``` ### Property Value - **Type**: System.Collections.Generic.List ``` -------------------------------- ### Marker Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.JPEGSection.html Gets the marker byte representing the section. ```APIDOC ## Property: Marker ### Description The marker byte representing the section. ### Syntax ```csharp public JPEGMarker Marker { get; } ``` ### Property Value - **Type**: JPEGMarker ``` -------------------------------- ### ExifSByteArray Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSByteArray.html Initializes a new instance of the ExifSByteArray class with a specified tag and array of signed bytes. ```APIDOC ## ExifSByteArray(ExifTag, SByte[]) ### Description Initializes a new instance of the ExifSByteArray class with a specified tag and array of signed bytes. ### Declaration ```csharp public ExifSByteArray(ExifTag tag, sbyte[] value) ``` ### Parameters - **tag** (ExifTag) - The tag to associate with this property. - **value** (System.SByte[]) - The array of 8-bit signed integers. ``` -------------------------------- ### ImageFileDirectory.FromBytes(Byte[], UInt32, BitConverterEx.ByteOrder) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFileDirectory.html Returns an ImageFileDirectory initialized from the given byte data. This static method parses the byte array at the specified offset using the given byte order. ```APIDOC ## ImageFileDirectory.FromBytes(Byte[], UInt32, BitConverterEx.ByteOrder) ### Description Returns an ImageFileDirectory initialized from the given byte data. ### Declaration csharp public static ImageFileDirectory FromBytes(byte[] data, uint offset, BitConverterEx.ByteOrder byteOrder) ### Parameters - **data** (System.Byte[]) - The data. - **offset** (System.UInt32) - The offset into `data`. - **byteOrder** (BitConverterEx.ByteOrder) - The byte order of `data`. ### Returns - **ImageFileDirectory** - A ImageFileDirectory initialized from the given byte data. ``` -------------------------------- ### Width Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the width of the text grid. ```APIDOC ## Width ### Description Gets the width of the text grid. ### Declaration ```csharp public ushort Width { get; set; } ``` ### Property Value - **Type**: System.UInt16 ``` -------------------------------- ### Top Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the top position of the text. ```APIDOC ## Top ### Description Gets the top position of the text. ### Declaration ```csharp public ushort Top { get; set; } ``` ### Property Value - **Type**: System.UInt16 ``` -------------------------------- ### ExifFloat.ToString() Method Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifFloat.html Returns a string representation of the ExifFloat object. ```APIDOC ## ExifFloat.ToString() Method ### Description Returns a string representation of the ExifFloat object. ### Method Declaration ```csharp public override string ToString() ``` ### Returns - **Type**: System.String - **Description**: A string representation of the object. ``` -------------------------------- ### ExifSInt(ExifTag, Int32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSInt.html Initializes a new instance of the ExifSInt class with the specified tag and integer value. ```APIDOC ## ExifSInt(ExifTag, Int32) ### Description Initializes a new instance of the ExifSInt class with the specified tag and integer value. ### Method Constructor ### Parameters - **tag** (ExifTag) - Required - The EXIF tag associated with this property. - **value** (System.Int32) - Required - The 32-bit signed integer value. ### Syntax ```csharp public ExifSInt(ExifTag tag, int value) ``` ``` -------------------------------- ### Left Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the left position of the text. ```APIDOC ## Left ### Description Gets the left position of the text. ### Declaration ```csharp public ushort Left { get; set; } ``` ### Property Value - **Type**: System.UInt16 ``` -------------------------------- ### ExifEnumProperty(ExifTag, T) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEnumProperty-1.html Initializes a new instance of the ExifEnumProperty class with the specified tag and value. ```APIDOC ## Constructor: ExifEnumProperty(ExifTag, T) ### Description Initializes a new instance of the ExifEnumProperty class with the specified tag and value. ### Declaration ```csharp public ExifEnumProperty(ExifTag tag, T value) ``` ### Parameters - **tag** (ExifTag) - The Exif tag associated with this property. - **value** (T) - The enumerated value. ``` -------------------------------- ### Height Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the height of the text grid. ```APIDOC ## Height ### Description Gets the height of the text grid. ### Declaration ```csharp public ushort Height { get; set; } ``` ### Property Value - **Type**: System.UInt16 ``` -------------------------------- ### CellWidth Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the width of each cell in the grid. ```APIDOC ## CellWidth ### Description Gets the width of each cell in the grid. ### Declaration ```csharp public byte CellWidth { get; set; } ``` ### Property Value - **Type**: System.Byte ``` -------------------------------- ### FromFileAsync(String) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ImageFile.html Creates an ImageFile from the specified file asynchronously. ```APIDOC ## FromFileAsync(String) ### Description Creates an ImageFile from the specified file by asynchronously reading image data. ### Declaration ```csharp public static Task FromFileAsync(string filename) ``` ### Parameters - **filename** (System.String) - A string that contains the name of the file. ### Returns - **Type**: System.Threading.Tasks.Task - The ImageFile created from the file. ``` -------------------------------- ### CellHeight Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GIFPlainTextExtension.html Property to get or set the height of each cell in the grid. ```APIDOC ## CellHeight ### Description Gets the height of each cell in the grid. ### Declaration ```csharp public byte CellHeight { get; set; } ``` ### Property Value - **Type**: System.Byte ``` -------------------------------- ### Constructor ExifDoubleArray(ExifTag, Double[]) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifDoubleArray.html Initializes a new instance of the ExifDoubleArray class with a specific EXIF tag and a double array value. ```APIDOC ## Constructor ExifDoubleArray(ExifTag, Double[]) ### Description Initializes a new instance of the ExifDoubleArray class with the specified EXIF tag and double array value. ### Syntax ```csharp public ExifDoubleArray(ExifTag tag, double[] value) ``` ### Parameters - **tag** (ExifTag) - The EXIF tag associated with the property. - **value** (System.Double[]) - The array of 64-bit floating-point values. ``` -------------------------------- ### ExifUIntArray.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifUIntArray.html Gets the interoperability information for this Exif property. ```APIDOC ## Interoperability Property ### Description Gets the interoperability information for this Exif property. ### Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value Type: ExifInterOperability ### Overrides ExifProperty.Interoperability ``` -------------------------------- ### Read image file asynchronously with FromFileAsync Source: https://oozcitak.github.io/exiflibrary/articles/ReadFile.html Use ExifLibrary.ImageFile.FromFileAsync to load an image asynchronously, then continue with a task to iterate over its Properties and print each property name. The method is static and asynchronous. ```csharp ExifLibrary.ImageFile.FromFileAsync("path_to_image").ContinueWith(t => { var file = t.Result; foreach(var property in file.Properties) { Console.WriteLine(property.Name); } }); ``` -------------------------------- ### ExifURationalArray.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifURationalArray.html Gets the EXIF interoperability representation of this property. ```APIDOC ## Interoperability Property ### Description Gets the EXIF interoperability representation of this property. ### Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value - **Type**: ExifInterOperability - The interoperability data for this property. ``` -------------------------------- ### ToString() Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSByte.html Returns a string representation of the ExifSByte object. ```APIDOC ## Method ToString() ### Description Returns a string representation of the ExifSByte object. ### Declaration ```csharp public override string ToString() ``` ### Returns - **Type**: System.String - **Description**: A string representation of the object. ``` -------------------------------- ### GPSTimeStamp(ExifTag, MathEx.UFraction32[]) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.GPSTimeStamp.html Initializes a new instance of the GPSTimeStamp class with the specified ExifTag and an array of unsigned rational values. ```APIDOC ## Constructor: GPSTimeStamp(ExifTag, MathEx.UFraction32[]) ### Description Initializes a new instance of the GPSTimeStamp class with the specified ExifTag and an array of unsigned rational values. ### Declaration ```csharp public GPSTimeStamp(ExifTag tag, MathEx.UFraction32[] value) ``` ### Parameters - **tag** (ExifTag) - The Exif tag associated with this property. - **value** (MathEx.UFraction32[]) - An array of unsigned rational values representing the time stamp. ``` -------------------------------- ### ExifSByteArray.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSByteArray.html Gets the interoperability data for this ExifSByteArray property. ```APIDOC ## Interoperability Property ### Description Gets the interoperability data for this ExifSByteArray property. ### Declaration ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value Type: ExifInterOperability ### Overrides ExifProperty.Interoperability ``` -------------------------------- ### Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifSInt.html Gets the interoperability information for this EXIF property. ```APIDOC ## Interoperability Property ### Description Gets the interoperability information for this EXIF property. ### Property Value Type: ExifInterOperability ### Syntax ```csharp public override ExifInterOperability Interoperability { get; } ``` ``` -------------------------------- ### Fraction32(Single) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Initializes a new instance of the Fraction32 struct from a float value. ```APIDOC ## Fraction32(Single) ### Description Initializes a new instance of the Fraction32 struct from a float value. ### Declaration ```csharp public Fraction32(float value) ``` ### Parameters - **value** (System.Single) - The value to convert. ``` -------------------------------- ### ExifEncodedString.Interoperability Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEncodedString.html Gets the interoperability representation of the EXIF property. ```APIDOC ## Interoperability Property ### Description Gets the interoperability representation of the EXIF property. ### Syntax ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value Type: ExifInterOperability ``` -------------------------------- ### Parameterless constructor for NotValidTIFFHeader Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.NotValidTIFFHeader.html Initializes a new instance of the NotValidTIFFHeader exception without a message. ```csharp public NotValidTIFFHeader() ``` -------------------------------- ### Fraction32(Int32, Int32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Initializes a new instance of the Fraction32 struct with specified numerator and denominator. ```APIDOC ## Fraction32(Int32, Int32) ### Description Initializes a new instance of the Fraction32 struct with specified numerator and denominator. ### Declaration ```csharp public Fraction32(int numerator, int denominator) ``` ### Parameters - **numerator** (System.Int32) - The numerator. - **denominator** (System.Int32) - The denominator. ``` -------------------------------- ### PNGText Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGText.html Initializes a new instance of the PNGText class with the specified tag, keyword, value, and compression flag. ```APIDOC ## PNGText(ExifTag, String, String, Boolean) ### Description Initializes a new instance of the PNGText class. ### Method Constructor ### Signature public PNGText(ExifTag tag, string keyword, string value, bool compressed) ### Parameters - **tag** (ExifTag) - Required - The Exif tag associated with this property. - **keyword** (System.String) - Required - The keyword for the text. - **value** (System.String) - Required - The text value. - **compressed** (System.Boolean) - Required - Indicates whether the text is compressed (zTXt) or not (tEXt). ### Returns No return value (constructor). ``` -------------------------------- ### Property Interoperability Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifDoubleArray.html Gets the interoperability representation of the EXIF property. ```APIDOC ## Property Interoperability ### Description Gets the interoperability representation of the EXIF property. ### Syntax ```csharp public override ExifInterOperability Interoperability { get; } ``` ### Property Value - **ExifInterOperability** - The interoperability information for this property. ### Overrides - ExifProperty.Interoperability ``` -------------------------------- ### Data Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifInterOperability.html Gets the field value as an array of bytes. ```APIDOC ## Property: Data ### Description Gets the field value as an array of bytes. ### Declaration ```csharp public byte[] Data { get; } ``` ### Property Value - **Type**: System.Byte[] ``` -------------------------------- ### ExifEnumProperty(ExifTag, T, Boolean) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.ExifEnumProperty-1.html Initializes a new instance of the ExifEnumProperty class with the specified tag, value, and bit field flag. ```APIDOC ## Constructor: ExifEnumProperty(ExifTag, T, Boolean) ### Description Initializes a new instance of the ExifEnumProperty class with the specified tag, value, and bit field flag. ### Declaration ```csharp public ExifEnumProperty(ExifTag tag, T value, bool isbitfield) ``` ### Parameters - **tag** (ExifTag) - The Exif tag associated with this property. - **value** (T) - The enumerated value. - **isbitfield** (System.Boolean) - Indicates whether the value is a bit field. ``` -------------------------------- ### TIFFFile Constructor Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.TIFFFile.html Initializes a new instance of the TIFFFile class from the specified data stream. ```APIDOC ## TIFFFile(MemoryStream, Encoding) ### Description Initializes a new instance of the TIFFFile class from the specified data stream. ### Method Constructor ### Parameters - **stream** (System.IO.MemoryStream) - Required - A stream that contains image data. - **encoding** (System.Text.Encoding) - Required - The encoding to be used for text metadata when the source encoding is unknown. ### Declaration ```csharp protected TIFFFile(MemoryStream stream, Encoding encoding) ``` ``` -------------------------------- ### TIFFStrip.Data Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.TIFFStrip.html Gets the compressed image data contained in this strip. ```APIDOC ## TIFFStrip.Data Property ### Description Compressed image data contained in this strip. ### Syntax ```csharp public byte[] Data { get; } ``` ### Property Value Type: System.Byte[] ``` -------------------------------- ### PNGText.Compressed Property Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.PNGText.html Gets a value indicating whether the text is compressed. ```APIDOC ## PNGText.Compressed Property ### Description Gets a value indicating whether the text is compressed (zTXt) or not (tEXt). ### Property Signature public bool Compressed { get; } ### Property Value Type: System.Boolean ### Remarks This property is read-only. ``` -------------------------------- ### Addition(MathEx.Fraction32, Int32) Source: https://oozcitak.github.io/exiflibrary/obj/api/ExifLibrary.MathEx.Fraction32.html Adds a Fraction32 and an integer value. ```APIDOC ## Addition(MathEx.Fraction32, Int32) ### Description Adds a Fraction32 and an integer value. ### Declaration ```csharp public static MathEx.Fraction32 operator +(MathEx.Fraction32 f, int n) ``` ### Parameters | Type | Name | Description | | --- | --- | --- | | MathEx.Fraction32 | f | The fraction. | | System.Int32 | n | The integer value. | ### Returns | Type | Description | | --- | --- | | MathEx.Fraction32 | The sum of the fraction and the integer value. | ```