2017 © Pedro Peláez
 

library image-orientation-fix

Php class that Fix image orientation by exif data.

image

jellybellydev/image-orientation-fix

Php class that Fix image orientation by exif data.

  • Tuesday, July 10, 2018
  • by JellyBellyDev
  • Repository
  • 2 Watchers
  • 9 Stars
  • 271 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 174 % Grown

The README.md

ImageOrientationFix

PHP library to fix image orientation by exif data with thanks to method exif_read_data, (*1)

Gitbub actions Latest Stable Version PHP Version Require Total Downloads composer.lock License codecov, (*2)

Image Example

after, (*3)

How to install

composer require jellybellydev/image-orientation-fix

How to use

use ImageOrientationFix\ImageOrientationFixer;

$iof = new ImageOrientationFixer('foo.jpg');
$iof->fix();

or, (*4)

use ImageOrientationFix\ImageOrientationFixer;

$iof = new ImageOrientationFixer('/path/foo.jpg', '/path/foo_fixed.jpg');
$iof->fix();

Contributing

Dependencies are managed through composer:, (*5)

$ docker-compose up --build -d
$ docker-compose run php74 composer install

Run phpunit:

$ docker-compose run php74 composer test

Run php-cs-fixer

bash docker-compose run php74 composer cs-fixer, (*6)

Changelog

Please refer to the changelog notes., (*7)

Credits

Thanks to recurser for the image example, (*8)

The Versions

10/07 2018

dev-master

9999999-dev http://github.com/JellyBellyDev/ImageOrientationFix

Php class that Fix image orientation by exif data.

  Sources   Download

MIT

The Requires

  • ext-gd *
  • php >=5.2.4

 

The Development Requires

by Andrea Giannantonio

image exif orientation

10/07 2018

v1.0.4

1.0.4.0 http://github.com/JellyBellyDev/ImageOrientationFix

Php class that Fix image orientation by exif data.

  Sources   Download

MIT

The Requires

  • php >=5.2.4
  • ext-gd *

 

The Development Requires

by Andrea Giannantonio

image exif orientation

10/07 2018

dev-feat/add-changelog

dev-feat/add-changelog http://github.com/JellyBellyDev/ImageOrientationFix

Php class that Fix image orientation by exif data.

  Sources   Download

MIT

The Requires

  • php >=5.2.4
  • ext-gd *

 

The Development Requires

by Andrea Giannantonio

image exif orientation

26/02 2018

1.0.0

1.0.0.0 http://github.com/JellyBellyDev/ImageOrientationFix

Php class that Fix image orientation by exif data.

  Sources   Download

MIT

The Requires

  • ext-gd *
  • php >=5.2.4

 

The Development Requires

by Andrea Giannantonio

image exif orientation