Add subImage-Resize for ImageMode , fixes #225

There's also a simple example
Merge pull request #233 from relu91/1.4

Add subImage-Resize for ImageMode , fixes #225