Add simple image operations

Add non-interleaved image operations in image.c
Added pre-quantization filtering

Before dithering or posterization, there is now a preprocessing pass that
puts a gaussian blur on the image, but not near edges. The idea is to reduce
noise in uninteresting areas without affecting edge clarity.