ImageTag Struct

Definition

Namespace: P1.ImageSdk

A wrapper around an image meta data tag. (Tiff, Exif and others) More…

public struct ImageTag

Remarks

A wrapper around an image meta data tag. (Tiff, Exif and others)

IIQ files contain meta data tags following multiple paradigms. Some tags are defined by the Tiff format standard, some by Exif and yet some are Phase One proprietary tags.

This class represents data contained in all such types of tags. See the class TagId, that identify all 3 kind of tags.

Each tag has a type and a count, and some raw data. The count is used only to represent vector data types or fractions. (A vector of 2: numerator & denominator.)

See also:

TagId

Properties

Data

Get the raw data value of this tag

StringValue

Get a string with the value of this meta data tag. (only for ASCII and BYTE types)

DoubleValue

Return the value for tag types: double, float and rationals - as a double

TagId

The tag ID, as defined by either Tiff, Exif or Phase One stardard

Type

The data-type of this meta data tag.

Count

If this tag represents a vector, this is the number of elements in the vector.

ByteSize

The size of the meta data tag in bytes

IntValue

Get the signed integer value of this tag

UIntValue

Get the unsigned integer value of this tag

RationalValue

Get the signed rational (fraction representation) value of this meta data tag

URationalValue

Get the unsigned rational (fraction representation) value of this meta data tag

Methods

ToString()

operator byte(ImageTag tag)

Explicit operator converting a ImageTag to a byte. Requires that the ImageTag is type byte. If not, an SdkException is thrown with the error-code kErrorPropertyTypeInvalid.

operator Int32(ImageTag p)

operator UInt32(ImageTag p)

operator double(ImageTag p)

operator string(ImageTag p)