Re: [csswg-drafts] [css-images] image-orientation and canvas drawImage (#4666)

> Right now that means that canvas drawImage calls will always respect the exif orientation.

From my testing in Chrome Canary yesterday, it looks like the `image-orientation` value on the `canvas` element itself affected a `drawImage()` call.

Testing a recent WebKit build, it's looking at the `img` element for `image-orientation: none`, but it's doing something buggy since I don't see all of the un-reoriented image in the canvas.

I think it makes more sense to look at the `img` element, if anything, although I realize that means it's possible to call `drawImage()` with some non-element image source, with no way to ignore the EXIF orientation.

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

Received on Tuesday, 18 February 2020 23:05:23 UTC