Add -nd option to turn off dithering
Fix bug with non-RGB source images, added some placeholders for
alternative algorithms