Read the whole image out of the file instead of byte by byte. Small speed improvement. Little cleaner.
Merge pull request #8 from justinvf/master

Not sure you even care