rdavaillaud/image-orientation-fixer

Php class that Fix image orientation by exif data.

Installs: 14 111

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/rdavaillaud/image-orientation-fixer

1.0.0 2018-03-22 09:33 UTC

This package is not auto-updated.

Last update: 2025-10-18 06:25:39 UTC


README

This repository contains a php class that fix images orientation by exif data with the method exif_read_data

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

How to use

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

or to create a new file from the image.

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

Credits

Thanks to jellybellydev for the initial library Thanks to recurser for the image example