Skip to content

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. This is a mirror.

License

Notifications You must be signed in to change notification settings

mikeperalta1/auto-image-orientation-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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. This is a mirror.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages