Re:Pillow-SIMD – Fast, production-ready image resize for x86
by pedrocr on Friday July 07, 2017 @02:45PM
(#14720954)
>If you image is not a square power of two, pixel mixing will have artifacts.
I've implemented it generally by weighing the pixels by the actual area overlapping so border pixels get weights <1.0 for non power of two reductions. Haven't seen any artifacts from it.
I've implemented it generally by weighing the pixels by the actual area overlapping so border pixels get weights <1.0 for non power of two reductions. Haven't seen any artifacts from it.