forked from: Simple Fast Bilinear Color Interpolation

