Grafika\EditorInterface::resizeExact PHP Method

resizeExact() public method

Resize image to exact dimensions ignoring aspect ratio. Useful if you want to force exact width and height.
public resizeExact ( grafika\ImageInterface &$image, integer $newWidth, integer $newHeight ) : grafika\EditorInterface
$image grafika\ImageInterface Instance of Image.
$newWidth integer Width in pixels.
$newHeight integer Height in pixels.
return grafika\EditorInterface An instance of Editor.
    public function resizeExact(&$image, $newWidth, $newHeight);