Fix #1: able to work on images w an alpha channel.

This slight change should also account for other small differences in
pixel data within the png file itself - things like grayscale or
variations in number of bits per channel.