Struct TIFFHeader
Represents a TIFF Header.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: ExifLibrary
Assembly: ExifLibrary.dll
Syntax
public struct TIFFHeader
Constructors
| Improve this Doc View SourceTIFFHeader(BitConverterEx.ByteOrder, Byte, UInt32, BitConverterEx.ByteOrder)
Initializes a new instance of the TIFFHeader struct.
Declaration
public TIFFHeader(BitConverterEx.ByteOrder byteOrder, byte id, uint ifdOffset, BitConverterEx.ByteOrder headerByteOrder)
Parameters
Type | Name | Description |
---|---|---|
BitConverterEx.ByteOrder | byteOrder | The byte order. |
System.Byte | id | The TIFF ID. This value should always be 42. |
System.UInt32 | ifdOffset | The offset to the first IFD section from the start of the TIFF header. |
BitConverterEx.ByteOrder | headerByteOrder | The byte order of the TIFF header itself. |
Fields
| Improve this Doc View SourceByteOrder
The byte order of the image file.
Declaration
public BitConverterEx.ByteOrder ByteOrder
Field Value
Type | Description |
---|---|
BitConverterEx.ByteOrder |
ID
TIFF ID. This value should always be 42.
Declaration
public byte ID
Field Value
Type | Description |
---|---|
System.Byte |
IFDOffset
The offset to the first IFD section from the start of the TIFF header.
Declaration
public uint IFDOffset
Field Value
Type | Description |
---|---|
System.UInt32 |
TIFFHeaderByteOrder
The byte order of the TIFF header itself.
Declaration
public BitConverterEx.ByteOrder TIFFHeaderByteOrder
Field Value
Type | Description |
---|---|
BitConverterEx.ByteOrder |
Methods
| Improve this Doc View SourceFromBytes(Byte[], Int32)
Returns a TIFFHeader initialized from the given byte data.
Declaration
public static TIFFHeader FromBytes(byte[] data, int offset)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | The data. |
System.Int32 | offset | The offset into |
Returns
Type | Description |
---|---|
TIFFHeader | A TIFFHeader initialized from the given byte data. |