The kernel option allows us to set one of nearest, cubic, mitchell, lanczos2, and lanczos3, which by default uses the last one. However, for pixel art, this is far from ideal, as it blurs the pixels.
Additional information
[x] Would you be willing to help implement this feature?
Describe the feature
Right now, the library defines three options (out of many):
https://github.com/unjs/ipx/blob/b912370e54d1932e9d1c39c479a458203aaa0c7f/src/handlers/handlers.ts#L98-L102
The
kernel
option allows us to set one ofnearest
,cubic
,mitchell
,lanczos2
, andlanczos3
, which by default uses the last one. However, for pixel art, this is far from ideal, as it blurs the pixels.Additional information