GitHub - gezilinll/pica-gpu: a high-quality, GPU-accelerated image resizer
Briefly

Pica-gpu is an advanced image resizer that leverages the GPU for efficient processing, inspired by the original Pica library. Unlike Pica, which operates solely on the CPU, pica-gpu harnesses WebGL to perform filtering and convolution on the GPU, achieving a performance boost of 2-10 times, especially with larger images. The library supports various filtering algorithms, including mks2013, which provides both resizing and sharpening functionalities. Users can easily integrate pica-gpu into their projects via npm. However, care must be taken to ensure the target canvas uses a WebGL context to avoid errors in resizing.
Pica-gpu offloads image processing tasks to the GPU, leading to significant CPU load reduction and up to a 10x performance boost for resizing large images.
By implementing a comprehensive set of filtering algorithms on the GPU, pica-gpu enhances image resizing efficiency while maintaining high-quality output.
Read at GitHub
[
|
]