Small images mostly pixel art doesn't look great with interpolation. My suggestion would be to either add a toggle for it, or detect automatically, either if the image is smaller than some threshold or for png only if the image color space is an indexed palette.