PHP Class TippingCanoe\Imager\ImageData

Represents some internal information we'd like to gather on image originals prior to storage.
Afficher le fichier Open project: tippingcanoe/imager Class Usage Examples

Protected Properties

Свойство Type Description
$file Symfony\Component\HttpFoundation\File
$intervention Intervention\Image\Image

Méthodes publiques

Méthode Description
__construct ( File $file, Intervention\Image\Image $intervention )
getAveragePixelColor ( ) : string
getHeight ( ) : integer
getWidth ( ) : integer

Method Details

__construct() public méthode

public __construct ( File $file, Intervention\Image\Image $intervention )
$file Symfony\Component\HttpFoundation\File\File
$intervention Intervention\Image\Image

getAveragePixelColor() public méthode

public getAveragePixelColor ( ) : string
Résultat string

getHeight() public méthode

public getHeight ( ) : integer
Résultat integer

getWidth() public méthode

public getWidth ( ) : integer
Résultat integer

Property Details

$file protected_oe property

protected File,Symfony\Component\HttpFoundation $file
Résultat Symfony\Component\HttpFoundation\File

$intervention protected_oe property

protected Image,Intervention\Image $intervention
Résultat Intervention\Image\Image