2
2
mirror of https://github.com/mastodon/mastodon synced 2025-04-12 00:56:38 +02:00
ThibG a1ce9cbb67
Fix uploaded image orientation in some browsers ()
Some browsers (at least recent Chrome versions) automatically take
image metadata into account when drawing images into a canvas.
There seem to be no way to prevent that behavior, and the only
way to detect it seems to compare with a known image.

See: https://github.com/w3c/csswg-drafts/issues/4666
Solution adapted from: 1e4df70782
2020-04-18 15:37:03 +02:00
..