Re:Image Scaling Attacks
by tech2 on Thursday October 29, 2020 @08:31AM
(#24929777)
Because resizing in a linear colorspace is more costly. JPEG can be resized without shifting colorspaces VERY cheaply, but requires loading into RAM if a change in colorspace (or gamma shift) is performed. The hit can be quite significant. On a phone or laptop it would hurt battery, on an online service (dynamic resizer service) it would impact latency.
[ Parent
| on HN ]
> on an online service (dynamic resizer service) it would impact latency.
If its even possible at all. Sometimes users upload things like https://commons.wikimedia.org/wiki/File:“Declaration_of_vict...