Image rotation attribute not honored
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | wontfix |
People
(Reporter: jstutte, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
825.22 KB,
image/png
|
Details |
The right image on https://www.chianterastutte.eu/site/ (me) should be displayed upright.
On FF 73 this works correctly, on Nightly 75 not.
Comment 1•5 years ago
|
||
If I add image-orientation: none
to the element then it restores the previous behavior. Chrome Canary and Safari also show the rotated image.
This is a regression from bug 1607667.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
The EXIF metadata in that image appears to be "wrong":
$ wget -qO- https://www.chianterastutte.eu/site/jenssmall.jpg | exiftags | grep Orientation
Image Orientation: Right-Hand, Top
Checking with http://sylvana.net/jpegcrop/exif_orientation.html, Right/Top means that the image must be rotated clockwise 90 degrees to be shown at its correct orientation.
Maybe a tool has rotated the contents of the image without adjusting the EXIF orientation tag. I suggest the image itself be fixed by correcting the EXIF orientation data to be set to Left/Top, which is correct for the image data, and which doesn't require re-orientation for display:
$ exiftran -o jenssmall-corrected.jpg -nt -ni -2 jenssmall.jpg
We are hoping that there will not be much breakage from the image-orientation initial value change in bug 1607667. I'll resolve this bug as INVALID For now.
Updated•5 years ago
|
Description
•