Cover-mode for resizing images

Cover mode provides the possibility to resize the image (maintaining its original ratio) to cover a certain framesize. (Similar to the CSS background-size: cover; property)
The user also has the possibility to choose the cover origin.