set alpha=255 when paletted image lacks transparency info