PHP Classes

PHP Exif Orientation Correction: Correct orientation of wide images using Exif

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 254 All time: 7,846 This week: 310Up
Version License PHP version Categories
exif-wideimage 1.0.0BSD License5.0PHP 5, Graphics


This is a simple class that can correct orientation of wide images using Exif.

It takes as parameters a WideImage object and the current orientation value extracted from the image file Exif information.

The class may mirror or rotate the image depending on the correct orientation values.

Innovation Award
PHP Programming Innovation award nominee
March 2015
Number 8

Prize: PHP Tools for Visual Studio Personal license
Exif is a metadata format that many cameras embed in the files of the pictures that they take.

One of the types of information that is included in the Exif data section is the orientation of the camera when the picture was taken.

This class can take in consideration the correct orientation of the picture from the Exif metadata and rotate the image, so it appears with the original orientation.

Manuel Lemos
Picture of Pablo Matias Perrone
  Performance   Level  
Name: Pablo Matias Perrone <contact>
Classes: 5 packages by
Country: Argentina Argentina
Age: 45
All time rank: 137617 in Argentina Argentina
Week rank: 198 Up3 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageOperation (1 file)

  Files folder image Files  /  Operation  
File Role Description
  Plain text file CorrectExif.php Class Operation Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,846
This week:310Up
User Comments (1)
sencillo, y util
8 years ago (facundo ruiz)