Add support for alpha transparency (PNG) and opacity.