Updated to do 2-color images