Skip to content

Commit

Permalink
Fix erroneous exif conversion for value 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Sep 13, 2024
1 parent 25bd5eb commit b4cb2d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/orientation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ impl Orientation {
4 => Some(Self::FlipVertical),
5 => Some(Self::Rotate90FlipH),
6 => Some(Self::Rotate90),
7 => Some(Self::Rotate90FlipH),
7 => Some(Self::Rotate270FlipH),
8 => Some(Self::Rotate270),
0 | 9.. => None,
}
}

}

0 comments on commit b4cb2d6

Please sign in to comment.