(10-26-2017, 07:22 PM)rich2005 Wrote: Not a script but i wonder if exporting as a bmp would suffice.
5 bits per channel (+ alpha bit)
Make an image with the colours you use, export, re-open, create palette from image.
Palettes seem to be limited to 10K colors (15-bit would be 32K). Not very manageable anyway. But yes for the auto-conversion.