When you digitize a photo, there is an option to change the maximum number of colors allowed.  The default of 20 works with most photos but some can work with fewer colors some need more.