Takes an image and a text file and replaces the colors with a specified amount of colors defined by the user.