File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ static const struct exif_tag_type_info_t
8181
8282enum exif_tiff_tag {
8383 // 0th IFD TIFF Tags
84+ ETIFF_ORIENTATION , ///< Image resolution in width direction (recommended)
8485 ETIFF_XRESOLUTION , ///< Image resolution in width direction (mandatory)
8586 ETIFF_YRESOLUTION , ///< Image resolution in height direction (mandatory)
8687 ETIFF_RESOLUTION_UNIT , ///< Unit of X and Y resolution (mandatory)
@@ -101,6 +102,7 @@ const struct exif_tiff_tag_info_t {
101102 enum exif_tag_type type ;
102103 const char * name ;
103104} exif_tiff_tag_info [] = {
105+ [ETIFF_ORIENTATION ] = {0x112 , ET_SHORT , "Orientation" },
104106 [ETIFF_XRESOLUTION ] = {0x11A , ET_RATIONAL , "XResolution" },
105107 [ETIFF_YRESOLUTION ] = {0x11B , ET_RATIONAL , "YResolution" },
106108 [ETIFF_RESOLUTION_UNIT ] = {0x128 , ET_SHORT , "ResolutionUnit" },
You can’t perform that action at this time.
0 commit comments