Add Gimp Palette conversion functions