PHP Class Undemanding\Difference\Transformation\Scale

Afficher le fichier Open project: undemanding/difference

Méthodes publiques

Méthode 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 méthode

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
Résultat array