google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.9k stars 977 forks source link

Guetzli doesn't seem to respect image orientation #129

Open yraen69 opened 7 years ago

yraen69 commented 7 years ago

Encoding a JPG photo that's taken in portrait outputs a JPG that's landscape.

As in the EXIF information in the original says the photo was taken portrait however I think Guetzli strips out that information?

yusupovfirdavs commented 7 years ago

Салом

gerfra commented 7 years ago

If the images come from IPhone you must do it manually, by resetting the value orientation. exiftool -Orientation -n image.jpg or exiftool -Orientation image.jpg than change it with your preferences exiftool -Orientation=3 -n image.jpg etc...