Keeps from exploding images larger than intended.
Merge pull request #3 from CalebKester/patch-1

Keeps from exploding images larger than intended.