Merge pull request #334 from XiangruiCAI/img_tool

SINGA-323 Add method to resize images by given width and height