Browse Source

Set ExifDataType values explictly (to spec)

pull/506/head
Jason Nelson 8 years ago
parent
commit
652a4dd0a0
  1. 50
      src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs

50
src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs

@ -11,66 +11,66 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
/// <summary> /// <summary>
/// Unknown /// Unknown
/// </summary> /// </summary>
Unknown, Unknown = 0,
/// <summary> /// <summary>
/// Byte /// An 8-bit unsigned integer.
/// </summary> /// </summary>
Byte, Byte = 1,
/// <summary> /// <summary>
/// Ascii /// An 8-bit byte containing one 7-bit ASCII code. The final byte is terminated with NULL.
/// </summary> /// </summary>
Ascii, Ascii = 2,
/// <summary> /// <summary>
/// Short /// A 16-bit (2-byte) unsigned integer.
/// </summary> /// </summary>
Short, Short = 3,
/// <summary> /// <summary>
/// Long /// A 32-bit (4-byte) unsigned integer.
/// </summary> /// </summary>
Long, Long = 4,
/// <summary> /// <summary>
/// Rational /// Two LONGs. The first LONG is the numerator and the second LONG expresses the denominator.
/// </summary> /// </summary>
Rational, Rational = 5,
/// <summary> /// <summary>
/// SignedByte /// An 8-bit signed integer.
/// </summary> /// </summary>
SignedByte, SignedByte = 6,
/// <summary> /// <summary>
/// Undefined /// An 8-bit byte that can take any value depending on the field definition.
/// </summary> /// </summary>
Undefined, Undefined = 7,
/// <summary> /// <summary>
/// SignedShort /// A 16-bit (2-byte) signed integer.
/// </summary> /// </summary>
SignedShort, SignedShort = 8,
/// <summary> /// <summary>
/// SignedLong /// A 32-bit (4-byte) signed integer (2's complement notation).
/// </summary> /// </summary>
SignedLong, SignedLong = 9,
/// <summary> /// <summary>
/// SignedRational /// Two SLONGs. The first SLONG is the numerator and the second SLONG is the denominator.
/// </summary> /// </summary>
SignedRational, SignedRational = 10,
/// <summary> /// <summary>
/// SingleFloat /// A 32-bit floating point value.
/// </summary> /// </summary>
SingleFloat, SingleFloat = 11,
/// <summary> /// <summary>
/// DoubleFloat /// A 64-bit floating point value.
/// </summary> /// </summary>
DoubleFloat DoubleFloat = 12
} }
} }
Loading…
Cancel
Save