PHP Class TippingCanoe\Imager\Processing\Fit

Combines cropping and resizing of an image.
Inheritance: implements TippingCanoe\Imager\Processing\Filter
Show file Open project: tippingcanoe/imager

Protected Properties

Property Type Description
$height integer
$width integer

Public Methods

Method Description
process ( File $file, Image $image, array $config = null )
setHeight ( integer $height )
setWidth ( integer $width )

Method Details

process() public method

public process ( File $file, Image $image, array $config = null )
$file Symfony\Component\HttpFoundation\File\File
$image TippingCanoe\Imager\Model\Image
$config array

setHeight() public method

public setHeight ( integer $height )
$height integer

setWidth() public method

public setWidth ( integer $width )
$width integer

Property Details

$height protected property

protected int $height
return integer

$width protected property

protected int $width
return integer