Encode/decode color palettes in Adobe's .ase format