From 652a4dd0a0652aa2fc74ed3434db29b0819ea5e4 Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Wed, 28 Mar 2018 08:49:05 -0700 Subject: [PATCH] Set ExifDataType values explictly (to spec) --- .../MetaData/Profiles/Exif/ExifDataType.cs | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs b/src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs index 8c3c1171c..5bd38b195 100644 --- a/src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs +++ b/src/ImageSharp/MetaData/Profiles/Exif/ExifDataType.cs @@ -11,66 +11,66 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif /// /// Unknown /// - Unknown, + Unknown = 0, /// - /// Byte + /// An 8-bit unsigned integer. /// - Byte, + Byte = 1, /// - /// Ascii + /// An 8-bit byte containing one 7-bit ASCII code. The final byte is terminated with NULL. /// - Ascii, + Ascii = 2, /// - /// Short + /// A 16-bit (2-byte) unsigned integer. /// - Short, + Short = 3, /// - /// Long + /// A 32-bit (4-byte) unsigned integer. /// - Long, + Long = 4, /// - /// Rational + /// Two LONGs. The first LONG is the numerator and the second LONG expresses the denominator. /// - Rational, + Rational = 5, /// - /// SignedByte + /// An 8-bit signed integer. /// - SignedByte, + SignedByte = 6, /// - /// Undefined + /// An 8-bit byte that can take any value depending on the field definition. /// - Undefined, + Undefined = 7, /// - /// SignedShort + /// A 16-bit (2-byte) signed integer. /// - SignedShort, + SignedShort = 8, /// - /// SignedLong + /// A 32-bit (4-byte) signed integer (2's complement notation). /// - SignedLong, + SignedLong = 9, /// - /// SignedRational + /// Two SLONGs. The first SLONG is the numerator and the second SLONG is the denominator. /// - SignedRational, + SignedRational = 10, /// - /// SingleFloat + /// A 32-bit floating point value. /// - SingleFloat, + SingleFloat = 11, /// - /// DoubleFloat + /// A 64-bit floating point value. /// - DoubleFloat + DoubleFloat = 12 } } \ No newline at end of file