Issue Bug Closed

#88542Image size not correct

Daniel Corn 06/12/19, 10:57 updated 03/12/20, 14:09

Description

A file uploaded through the TYPO3 backend has wrong image dimensions stored in the meta data.

The original file was a TIFF file with size 6000×4000. It has been downsized by Photoshop and exported as JPEG.

Inside the File List the original dimensions (6000×4000) are shown (see “File List screenshot”).

Impact

Image Crop does not work correctly and produces misplaced images

`file` command

file .../test-image.jpg
.../test-image.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=17, height=4000, bps=218, PhotometricIntepretation=RGB, description=                               , manufacturer=SONY, model=ILCE-6400, orientation=upper-left, width=6000], baseline, precision 8, 1700x1133, frames 3

GraphicsMagick

gm identify -debug events .../test-image.jpg
.../test-image.jpg JPEG 1700x1133+0+0 DirectClass 8-bit 165.7Ki 0.000u 0m:0.000003s

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.