added dither to input file