Image Scaling Attacks
This obviously works when the image is "scaled" by sampling/nearest-neighbor (e.g. downscaling 2x by taking every second pixel and discarding the rest), not actually scaled through some better method (by doing math that involves all pixel values).<p>What the article doesn't mention, and the paper it links to probably mentions somewhere alongside so much irrelevant information that I couldn't find it yet, is whether this also works on some of the better scaling algorithms, and thus whether it's a "duh, OBVIOUSLY" or actually interesting research.<p>The blog post gives a cv2.resize example which seems to default to "bilinear", but I'm not sure what this means for <i>down</i>scaling, in particular for downscaling by a large factor.<p>I suspect that the key takeaway is "default downscaling methods are bad".