Description

ResizeToFill creates a filter that resizes an image to the smallest possible size that will cover the specified dimensions, then crops the resized image to the specified dimensions using the specified anchor point. Supported resampling parameters: NearestNeighborResampling, BoxResampling, LinearResampling, CubicResampling, LanczosResampling.

ResizeToFill is referenced in 4 repositories

github.com/disintegration/gift github.com/app-kit/go-appkit github.com/deiwin/picasso

...