Determines the correct dimensions for resizing and cropping images, without being attached to any particular tool