Hi @bbbbbr .
See stbiscalenx: Stb Image Scale Near X.
This method is very similar to ScaleX. This method does not add new colors, only uses those that already exist. Replacing equal with near makes color selection more flexible, allowing pixel scaling techniques to be applied even to full-color images. I use this to scale scanned material containing a lot of glyphs and contours.
Hi @bbbbbr .
See stbiscalenx: Stb Image Scale Near X.
This method is very similar to ScaleX. This method does not add new colors, only uses those that already exist. Replacing
equalwithnearmakes color selection more flexible, allowing pixel scaling techniques to be applied even to full-color images. I use this to scale scanned material containing a lot of glyphs and contours.