This library contains all of the standard algorithms used in various emulators (like VirtualGB, Mame, DOSBox, SNES9x, ZSNES to name some of them).
I adapted them to be used not only on pixel graphics by giving them the ability to identify pixels that are alike and not exactly the same color. They will interpolate on matches to give slightly better results than their original. Even though some scaler's seem to result in the same image, they're all slightly different and the best fit heavily depends on the source material. All Algorithms have been rewritten from scratch by looking at the original code, understanding and then adapting so these should be clean (schoolar) version of the algo's.
Thank's to all the people that made up their minds and invented these scalers. Without them I couldn't have coded this.
To demonstrate some of the filtering techniques, I will use this image:
Eagle3x (I invented this one because it did not exists before):
Eagle3x(Variant B ):
Scale and Interpolate (alias SaI2x):
Super Scale and Interpolate (alias SuperSai):
HQ2x(Normal, Bold and Smart, HQ4x, HQ2x3, HQ2x4, etc.):
HQ3x(which is also available as normal, bold and smart version):
LQ2x(also LQ3x, LQ4x, Normal, Smart, Bold, LQ2x3, LQ2x4, etc.):
Also included in this package: Scanline Effects, RGB Effects, TV Effects, RGB- and YUV- Channel extraction and many more.
I recommend when using scaling algorithms to resize the image before applying them because I don't know how to do this from within a plugin or use "Render to Clipboard" and paste the result into a new image.
Hope you'll give me feedback about it.
Edited by Hawkynt, 24 February 2012 - 06:30 PM.