Project

General

Profile

Actions

Bug #61655

closed

Image rescaling breaks/ignores exif orientation

Added by Robotic-Brain no-lastname-given over 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2014-09-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The f:image view helper does not seem to respect the exif orientation setting of JPEGs.

When uploading JPEGs taken with some kind of phone (like Android), and using the minHeight/minWidth option of the image view helper, all the images taken in portrait mode get rotated by 90°.

This is really annoying since the only way to fix it is to edit the image, rotate it and remove all exif data.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #69274: Portrait Images rotated while file processingClosedStefan Froemken2015-08-24

Actions
Actions #1

Updated by Claus Due over 8 years ago

  • Category changed from Fluid to Image Cropping

Moved to image generation category as it applies everywhere, not just in Fluid ViewHelpers.

Actions #2

Updated by Mathias Brodala about 7 years ago

Notice that this actually applies to every location which handles resources in TYPO3. If you upload images with EXIF orientation tags, they are processed without respecting this.

There are great examples in the following repository, simply upload them through the TYPO3 file module and you'll see that width/height is wrong and the thumbnails are generated accordingly:

https://github.com/recurser/exif-orientation-examples

To fix this we first need to decide how to handle this:

  1. Read the orientation upon indexing and apply it physically: no change necessary in other locations of TYPO3 but this reduces image quality.
  2. Store the image orientation in metadata or similar and fix all locations within TYPO3 to respect it for processing: obviously a lot more work but the best solution to leave images unchanged.
Actions #3

Updated by Riccardo De Contardi over 6 years ago

  • Related to Bug #69274: Portrait Images rotated while file processing added
Actions #4

Updated by Susanne Moog over 6 years ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER
Actions #5

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from New to Closed

This is solved for version 9.5 and higher with #69274 - tested with "Text and Images" CE - therefore I close it.

If you think that this is the wrong decision (or experience the issue again), please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions

Also available in: Atom PDF