Fix bug in import, color are shifted by 1. Color 0 is never used as index, but color 0 does exist in the palette. Color 255 cannot be used.
That format is a mess.