Merge pull request #19 from huanzhz/master

m49
resize
Merge pull request #50 from winstonho/master

update