[This is preliminary documentation and is subject to change.]

Kinds of Exif metadata items as reported by reader events

Namespace: Tools.MetadataT.ExifT
Assembly: Tools.Metadata (in Tools.Metadata.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public enum ReaderItemKinds
Visual Basic
Public Enumeration ReaderItemKinds
Visual C++
public enum class ReaderItemKinds
F#
type ReaderItemKinds
JScript
public enum ReaderItemKinds

Members

Member nameValueDescription
Unknown0Not used by ReadItem, but used by ExifMapGenerator to indicate bytes of unknown purpose in Exif metadata block
Exif1 Raised only once at the beginning or reading.

Caught by ExifMapGenerator to determine length of stream but not used in map.

Bom2 Raised when the Byte Order mark (BOM) is read. This is the 2nd event and occures only once.

Used by ExifMapGenerator

BomTest3 Raised when the Byte Order mark test is read. This is the 3rd event and occures only once.

Used by ExifMapGenerator

Ifd0Offset4 Raised when offset to 1st IFD (IFD0) is read. This is the 4th event and occures only once.

Used by ExifMapGenerator

IfdNumberOfEntries5 Raised when number of entries in IFD is read. Occurs for each IFD and SubIFD.

Used by ExifMapGenerator

Ifd6 Raised before IFD is read.
TagNumber7 Raised when tag number is read.

Used by ExifMapGenerator

TagDataType8 Raised when tag data type is read.

Used by ExifMapGenerator

TagComponents9 Raised when tag number of components is read.

Used by ExifMapGenerator

TagDataOrOffset10 Raised when tag data part is read. Note: Tag data part contains either data or pointer to data depending on if data fits into 4 bytes.

Used by ExifMapGenerator

TagHeader11 Raised when whole tag header is read, before tag data are parsed. This event carrys no information about tag being red. All necessary informations can be collected from events TagNumber, TagDataType, TagComponents and TagDataOrOffset which always preceed this event in given order.
ExternalTagData12 Raised when tag data stored outside of tag are read. Raised ony for tags which has data longer than 4 bytes.

Used by ExifMapGenerator

Tag13 Raised after whole tag if read and parsed
NextIfdOffset14 Raised when pointer to next IFD is read at the end of each IFD

Used by ExifMapGenerator

Thumbnail15 Raised before thumbnail is read.
JpegThumbnail16 Raised when reading JPEG thumbnail data.

Used by ExifMapGenerator

TiffThumbnailPart17 Raised when reading part of TIFF thumbnailo data (TIFF thumbnail can be placed in more than one part).

Used by ExifMapGenerator

TiffThumbNail18 Raised after all TIFF thumbnail sub-streams are detected.
Empty19Used neither by ExifMapGenerator nor by ExifReader..::..ExifEventArgs. Indicates that given byte is unused.
SubIfdMask128Or mask that applies to IfdNumberOfEntries, Ifd and NextIfdOffset to make SubIfdNumberOfEntries, SubIfd and NextSubIfdOffset respectively. This value itself is never used as event identifier.
SubIfdNumberOfEntries133Same meaning as IfdNumberOfEntries but for SubIFD.

Used by ExifMapGenerator

SubIfd134Same meaning as Ifd but for SubIFD.

Used by ExifMapGenerator

NextSubIfdOffset142Same meaning as NextIfdOffset but for SubIFD.

Used by ExifMapGenerator

WriterMask64Or mask applied by ExifWriter to items written by it to distinguish them from original ones. Not used by ExifMapGenerator and ExifReader..::..ExifEventArgs.
IsFlagsGets value indicating if given value is of enum type which has FlagsAttribute applied
GetNameGets name of given enumeration value
GetConstantGets constant field that represents given enum value
GetValueGets value of enum in its unedlying type
IsDefinedGets value idicating if given value is defined as constant in enumeration

Remarks

This enumeration is also used by ExifMapGenerator, but only some (the most low-level ones) members are valid for it.

See Also