Output AlphaData to PNG dimensions

Dimensions need to match the figure dimensions.
When alpha = 1, it doesn't make sense pass along the data
Merge branch 'issue297' #297