update spritesheetbuilder to support input images with palette formats