save image as color-mapped 8-bit rather than true-color

Hello All,

Using matplotlib, how can an image be saved as color-mapped 8-bit
rather than as true-color?

Thanks,

– jv