Re: [csswg-drafts] [css-images-3] Allow impls to not respect exif data if it's after the image data (#4929)

I've hidden the diversion due to confusion. ^_^

So bringing us back:

Chrome, Safari, and Firefox all now respect `image-orientation: from-image` on JPGs (in their latest versions, make sure you're updated), as shown in <https://ericportis.com/etc/PNG-EXIF-orientation/>.

Chrome and Firefox don't currently support it on PNGs at all (but plan to fix that). Safari does support EXIF on PNGs, but only if it comes *before* the image data (the PNG spec technically allows it to show up before *or* after). (The test linked above has the EXIF after the image data.)

Orientation data showing up after the image data is hostile to streaming display of the image: it'll progressively render one way, then flip at the very end, and that's assuming your rendering pipeline even *allows* changing orientation after-the-fact (apparently Safari's doesn't currently).

So! Given that, should the spec allow (or mandate) ignoring image-derived orientation if it comes after the image data?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4929#issuecomment-612196176 using your GitHub account

Received on Friday, 10 April 2020 20:08:10 UTC