switch to ImagePalette to be sure to meet the GPLv2, issue #1