towards support for alpha channeled images