diversen/image-auto-rotate

Auto rotate image to correct position from exif

Maintainers

Package info

github.com/diversen/image-auto-rotate

pkg:composer/diversen/image-auto-rotate

Statistics

Installs: 2 282

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 1

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

This package is auto-updated.

Last update: 2026-02-20 10:52:37 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']);