pub enum TagType {
Show 25 variants
UnsignedByte,
AsciiString,
UnsignedShort,
UnsignedLong,
UnsignedRational,
SignedByte,
Undefined,
SignedShort,
SignedLong,
SignedRational,
TiffFloat,
TiffDouble,
TiffIfd,
String,
Date,
Time,
Comment,
Directory,
XmpText,
XmpAlt,
XmpBag,
XmpSeq,
LangAlt,
Invalid,
Unknown,
}
Expand description
The possible data types that a tag can have.
Variants
UnsignedByte
Exif BYTE type, 8-bit unsigned integer.
AsciiString
Exif ASCII type, 8-bit byte.
UnsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
UnsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
UnsignedRational
Exif RATIONAL type, two LONGs: numerator and denumerator of a fraction.
SignedByte
Exif SBYTE type, an 8-bit signed (twos-complement) integer.
Undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
SignedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
SignedLong
Exif SLONG type, a 32-bit (4-byte) signed (twos-complement) integer.
SignedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
TiffFloat
TIFF FLOAT type, single precision (4-byte) IEEE format.
TiffDouble
TIFF DOUBLE type, double precision (8-byte) IEEE format.
TiffIfd
TIFF IFD type, 32-bit (4-byte) unsigned integer.
String
IPTC string type.
Date
IPTC date type.
Time
IPTC time type.
Comment
Exiv2 type for the Exif user comment.
Directory
Exiv2 type for a CIFF directory.
XmpText
XMP text type.
XmpAlt
XMP alternative type.
XmpBag
XMP bag type.
XmpSeq
XMP sequence type.
LangAlt
XMP language alternative type.
Invalid
Invalid type.
Unknown
Unknown type.