can handle multi-resolution pictures now
Merge pull request #18 from lei-april/master

can handle multi-resolution pictures now