Added subsampling options when loading an image from disk.
Merge pull request #6 from mesyelp/master

Added subsampling options when loading an image from disk.