macro-ize the core conversions and fix mistakes in dithering cases