Hawkynt / 2dimagefilter

A collection of image filters, some especially suited to scale-up low res computer graphics.
http://hawkynt.github.io/2dimagefilter
GNU General Public License v3.0
45 stars 10 forks source link
image-manipulation image-processing interpolation interpolation-methods scaling

2D-Image and Texture Filter

This project tries to get all available image filters together, known to upscale lowres computer and console graphics. The goal is to modify them all to allow them to be used on a wide range of low-res graphics. One of the steps to achieve that is converting the filter algorithms, normally written to make comparisons like

(color1==color2)?color1:color3

into something like that

(color1 IsLike color2)?Interpolate(color1,color2):color3

I'm trying not to use code from other projects directly, but I implement their algo's in a similar way.

As of now (2015) this project has become a reference for much more image resampling algorithms. Even very exotic windowing functions found their way into the code, so the next goal is more like getting each possible available rescaling algo into the library.

So credits go to the following scalers:

Prerequisites

Downloads