Automatically rotate an image (destructively) based on Exif Orientation tags. Useful for preprocessing images before sending to a second program that may not understand Exif orientation tags.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Mike 8a169e3593 Merge branch 'dev' 1 week ago
.gitignore First commit 1 week ago
ApplyImageOrientation.py Seems to be working. 1 week ago
LICENSE.md Add license 1 week ago
Pipfile First commit 1 week ago
Pipfile.lock First commit 1 week ago
README.md Started the README 1 week ago
main.py Seems to be working. 1 week ago

README.md

Mike's Auto Image Rotator

This program is quite simple: It will look through your jpeg image's exif data and apply rotation automatically.

This is useful for preprocessing images before sending them through a second program that may not support orientation via exif data.

by Mike Peralta

Requirements

  • Python3
  • pipenv

Installation

Enter the repo's directory and install dependencies using pipenv, like so:

$ cd /path/to/repo
$ pipenv install

Usage

Invocation

Invoke directly like so:

$ cd /path/to/repo
$ pipenv run python ./main.py --help

Invoke in a persistent environment shell like so:

$ cd /path/to/repo
$ pipenv shell
$ python main.py --help

Arguments

Use the --help argument shown above to see all available options.