Correctly resize images with alpha channel.

<http://stackoverflow.com/questions/313070/png-transparency-with-php/313103#313103>
Bump version to 1.0.2.