main class for palette conversion

allows converion into Gimp or JASC palette, can also be used to create such palettes