making png with palette