Fix the problem that get the true size for image
Merge pull request #7 from PeachScript/master

Fix the problem #6 that get the true size for image