Non-8bit support for palette color and packbits support