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.
Adding a missing import for previous commit.
Merge pull request #7 from mesyelp/master

Adding a missing import for previous commit.