dithering added as a command line option