Show / Hide Table of Contents

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 Source

TIFFHeader(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 Source

ByteOrder

The byte order of the image file.

Declaration
public BitConverterEx.ByteOrder ByteOrder
Field Value
Type Description
BitConverterEx.ByteOrder
| Improve this Doc View Source

ID

TIFF ID. This value should always be 42.

Declaration
public byte ID
Field Value
Type Description
System.Byte
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

FromBytes(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 data.

Returns
Type Description
TIFFHeader

A TIFFHeader initialized from the given byte data.

Back to top Copyright © 2019 Özgür Özçıtak