mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 02:21:37 +01:00
a1ce9cbb67
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:
|
||
---|---|---|
.. | ||
__tests__ | ||
base64.js | ||
html.js | ||
log_out.js | ||
numbers.js | ||
resize_image.js | ||
scrollbar.js |