pesce88 / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

Suggestion on rotating thumbnails per EXIF Orienation or image ratio #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attached patch suggests implementation of automatic thumbnail roation depending 
on the EFIX data if the original file, or the image ration (width/height)

The rotation is controlled by thre new settings
['advanced']['rotate_thumbnail_per_exif'] = true;// Use EXIF orientation to 
rotate the thumbnail
['advanced']['rotate_thumbnail_per_ratio'] = -90;// Rotate thumbnail for this 
angle if image ratio below value given in rotate_thumbnail_if_ratio_below
['advanced']['rotate_thumbnail_if_ratio_below'] = 0.8;

Original issue reported on code.google.com by eug...@hutorny.in.ua on 7 Nov 2012 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion, i'll keep this in mind once I add support for EXIF 
data.

Original comment by gorounreal on 13 Nov 2012 at 12:54