Added a tool (and support functions) to generate an image and a palette resource from image files.
Added support for generating palettes from an image.