cover

fun cover()(source)

Resizes the image while keeping the aspect ratio to fill a given size and crops projecting parts