Support palette-based images.