3 ms·
Thanks. I'd read the Wikipedia page, I'm just not clear why this process is allowed (or more importantly, why it can't be removed). Is there a legitimate use c
by Wowfunhappy 7y ago
Thanks. I'd read the Wikipedia page, I'm just not clear why this process is allowed (or more importantly, why it can't be removed).
Is there a legitimate use case for being able to read back pixels?
- PaulBGD_ 7y agoA lot actually, for example you can do easy image resizing (like taking a selected image and resizing before uploading to the server.)
- laughinghan 7y agoLiterally any kind of image or photo manipulation, from an MS Paint-like webapp to Instagram-like photo filters.
- deleted 7y ago[deleted]
- kevingadd 7y agoThere are many legitimate uses. Vendors have experimented with making canvas readback opt-in (with a popup) but I don't know if it'll ever ship because it simply breaks too many websites. Sometimes it's used at page load to generate variants of a single image to reduce file sizes, or used by games to prepare image assets before they start up.
- godelski 7y ago> I'm just not clear why this process is allowed (or more importantly, why it can't be removed). Because we don't know how to make CPUs do pixel perfect images every single time. (I wrote a little more above)