Pillow-SIMD – Fast, production-ready image resize for x86
Is doing lanczos really faster and/or better quality for scaling down than just doing a simple pixel mixing:<p><a href="http://entropymine.com/imageworsener/pixelmixing/" rel="nofollow">http://entropymine.com/imageworsener/pixelmixing/</a><p>I implemented this for my image pipeline:<p><a href="https://github.com/pedrocr/rawloader/blob/230432a403a9febb5e5c004780211f7e765130b9/src/imageops/demosaic.rs#L155-L190" rel="nofollow">https://github.com/pedrocr/rawloader/blob/230432a403a9febb5e...</a><p>Makes for simple enough code and even before any serious effort at optimization or SIMD it can convert a 3680x2456x4 image in 32bit float (source article is 3x8bit) to 320x200x4 also in 32bit float in about 60ms (across 4 threads in 2 cores on a i5-6200U).