Add crop function

- Added crop_to_fit functionality
- Modified get_resolution() as it didn't work on my system (it returned two lines)
- Modified comment about GET_IMAGE_ONLY (hope that's ok!)