News for hackers. Stuff that matters.
Re:Pillow-SIMD – Fast, production-ready image resize for x86 by jacobolus on Thursday July 06, 2017 @08:23PM (#14715053)
That’s a shortcut if you only ever have to downsample by powers of two and you don’t mind worse image quality, since your down-sampled picture won’t use any data from across block boundaries.
Re:Pillow-SIMD – Fast, production-ready image resize for x86 by mark-r on Thursday July 06, 2017 @08:27PM (#14715070)
You can use it in a multi-step process. Use JPEG blocks to get slightly above the target size, then Lanczos to finish it off.