Skip to content

Add support for images with EXIF orientation tag#7

Open
Salsonn wants to merge 2 commits intoAVeenstra:masterfrom
Salsonn:master
Open

Add support for images with EXIF orientation tag#7
Salsonn wants to merge 2 commits intoAVeenstra:masterfrom
Salsonn:master

Conversation

@Salsonn
Copy link

@Salsonn Salsonn commented Mar 4, 2025

Images taken with digital cameras have "EXIF" metadata included to indicate information about the photo.

The relevant EXIF tag is orientation, which indicates if the orientation of the device was different from how the photo is stored on the device. Most modern photo viewers check for this tag when opening photos and rotate the image automatically. This pull request implements that feature.

It also pulls the latest version of the Pillow package, as the version in requirements.txt was unable to compile on my device using Python 3.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant