I currently have been working on a nice CLI utility that converts already Scale2x'd images to bigger size and smooths them.
I also pay attention to image size in disk. So I already use some kind of tools to optimize those images to png image format format.
This tool I'm working, is mainly targeted to screen shots taken from 4-16-bit games.
Currently I'm using Hermit-filter to resize screen shots from 400% size to 200% size, but that method creates more colors and isn't good when compressing images. Normally screenshots from these games consist maxium of 64 colors and with Scale2x colors won't increase, but with Hermit they will . And that's why I would like to know if any of you can point me a good image scaler that won't add more colors to an image.
EDIT: Currently I can produce quite nice 128-colour png screenshots. However the colorspace is still reduced.
Anyway here's one 24-bit (16777216 colour) image as an example hi-quality screenshot. The low quality will not have as many colors as this image. I'm targetting to 64 to 256 -color image.
EDIT2: There's a for of Scale2x called SuperScale2x. It's bit better than Scale2x and it offers also a possibility for antialiasing (that I don't need in this case). But I couldn't find any source code to compile or even any binaries. ;(

