Le 03/06/2012 11:46, Lucas Nussbaum a écrit : > Package: llgal > Version: 0.13.17-2 > Severity: wishlist > > Hi, > > Some cameras, when taking pictures "vertically", use the Exif tag > "Orientation" > to indicate that the image should be rotated when displayed. It seems that > browsers do not handle that tag, so it would be nice if llgal could detect > that > tag, and rotate the pictures when generating the thumbnails and the scaled > images. > > Example output of exiftool that shows the Orientation tag: > > ExifTool Version Number : 8.60 > File Name : P1010872.JPG > Directory : . > File Size : 3.3 MB > File Modification Date/Time : 2012:06:03 11:08:56+02:00 > File Permissions : rw------- > File Type : JPEG > MIME Type : image/jpeg > Exif Byte Order : Little-endian (Intel, II) > Make : Panasonic > Camera Model Name : DMC-FX40 > Orientation : Rotate 90 CW >
Hello Lucas, This is a longstanding debate between people that apply llgal right after downloading from the camera, and people who cleanup/rotate/resize their images before giving them to llgal. The former want an option for autorotating so that a single step does everything (except sorting/selecting images). The latter say that autorotating in llgal would open the gate to many image modification options requests, that llgal is not meant to do this, and that exiftran -ai can do the job anyway. So I never took time to actually look at the details. convert has an -auto-orient option that could help here. You'd just need to change the convert command-lines in the config file. But that wouldn't apply to the original images, only to thumbnails and scaled images. Brice -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org