diversen / image-auto-rotate
Auto rotate image to correct position from exif
Installs: 2 225
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-11-20 08:13:14 UTC
README
Auto rotate images to correct orientation
See answers on:
http://stackoverflow.com/questions/7489742/php-read-exif-data-and-adjust-orientation
Install
composer require diversen/image-auto-rotate
Usage
Only one method:
<?php use diversen\imageRotate; // The class works directly on an image $rotate = new imageRotate(); $rotate->fixOrientation($file['tmp_name']);