Turns any image into a stitchable chart — thread counts included.
Leave empty to let the algorithm pick colors.