This function attempts to get the image to as close to the provided dimensions as possible, and then crops the
remaining overflow (from the center) to get the image to be the size specified
public adaptiveResize ( $width, $height ) : GdThumb | ||
return | GdThumb |