Feature: When creating thumbs for images with Exif orientation, apply the orientation to the thumbs JPEG and some other image formats can have Exif meta data (https://en.wikipedia.org/wiki/Exif) which may include an orientation attribute, specifying how an image needs to be rotated or mirrored to get the correct representation. If such an orientation tag is given in the input file's Exif data, the thumbnail must be created with the corrective rotation/mirroring operations as described by that tag. Scenario Outline: Create thumbs from JPEG with Exif orientation tag Given a JPEG image as input And the input is mirrored and rotated by degrees counter-clockwise And the input image has Exif orientation And no thumbs exist When allmytoes is started without further arguments Then the path to the large thumb is returned And valid thumb exist for size large And no thumb exists for sizes other than large Examples: Exif orientation and their transformation | orientation_value | mirror | rotate | | 1 | not | 0 | | 2 | horizontally | 0 | | 3 | not | 180 | | 4 | horizontally | 180 | | 5 | horizontally | 90 | | 6 | not | 90 | | 7 | horizontally | 270 | | 8 | not | 270 |