add support for alpha images