Hello there.

How convert image to indexed with custom palette?