News for hackers. Stuff that matters.
Re:Image Scaling Attacks by contravariant on Saturday October 31, 2020 @10:42AM (#24951858)
Yeah if you're going to be using interpolation to downscale it's obviously going to look worse than even the most basic version of downscaling. That's why downscaling uses the transpose of the the interpolation kernel, not doing that and being surprised the result doesn't look good is just silly.
Re:Image Scaling Attacks by bonoboTP on Sunday November 01, 2020 @07:23AM (#24958977)
Do you know of any image processing library that has an implementation for that?
Re:Image Scaling Attacks by contravariant on Sunday November 01, 2020 @12:22PM (#24960935)
Imagemagick should work. It also has quite an extensive documentation: https://legacy.imagemagick.org/Usage/resize/. Though it's a bit hard to know where to start. I'm fairly certain it'll tell you somewhere that interpolation and downscaling use their kernels differently, but I couldn't tell you where.