PHP Class TippingCanoe\Imager\ImageData

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

Protected Properties

Property Type Description
$file Symfony\Component\HttpFoundation\File
$intervention Intervention\Image\Image

Public Methods

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

Method Details

__construct() public method

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

getAveragePixelColor() public method

public getAveragePixelColor ( ) : string
return string

getHeight() public method

public getHeight ( ) : integer
return integer

getWidth() public method

public getWidth ( ) : integer
return integer

Property Details

$file protected_oe property

protected File,Symfony\Component\HttpFoundation $file
return Symfony\Component\HttpFoundation\File

$intervention protected_oe property

protected Image,Intervention\Image $intervention
return Intervention\Image\Image