diversen/image-auto-rotate

Auto rotate image to correct position from exif

Installs: 2 264

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 2

Forks: 1

Open Issues: 1

pkg:composer/diversen/image-auto-rotate

v1.0.1 2016-06-13 09:38 UTC

This package is auto-updated.

Last update: 2025-09-20 10:02:55 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']);