Support multiple resolutions
Merge pull request #9 from zserafini/rescale

Support multiple resolutions