get alpha value `alpha` of a png image `img`,alpha = img.split()[-1]