about summary refs log tree commit diff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-18 15:37:03 +0200
committerGitHub <noreply@github.com>2020-04-18 15:37:03 +0200
commita1ce9cbb67facf705379355b9c8ec19c521b419c (patch)
tree5236f286b15a227ae1370e93257344e2e97e8830 /db/schema.rb
parente12a5635da7de5a1c3b08b2ce420ee8a56ae4aff (diff)
Fix uploaded image orientation in some browsers (#13493)
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: https://github.com/blueimp/JavaScript-Load-Image/commit/1e4df707821a0afcc11ea0720ee403b8759f3881
Diffstat (limited to 'db/schema.rb')
0 files changed, 0 insertions, 0 deletions