paint image with alpha channel