PHP Class Undemanding\Difference\Transformation\Scale

Mostra file Open project: undemanding/difference

Public Methods

Method Description
__invoke ( array $bitmap, integer $width, integer $height, float $maximum, float $factor ) : array New map of pixels scaled by a constant factor.

Method Details

__invoke() public method

New map of pixels scaled by a constant factor.
public __invoke ( array $bitmap, integer $width, integer $height, float $maximum, float $factor ) : array
$bitmap array
$width integer
$height integer
$maximum float
$factor float
return array