cropToSize: take image orientation into account 

Fixes #43