Fix an off-by-one error in function exportImageAlpha.
Merge pull request #212 from cspiel/fix-alpha-export

Fix an off-by-one error in function exportImageAlpha.