Add "MakeDitherImage" function