Dither compression / replace

this may be related to Should upload images be resized? - #9 by pirijan ?