MediaManipulatorInterface
in
Table of Contents
- HEIGHT = 1
- QUALITY_HIGH = 3
- QUALITY_LOW = 1
- QUALITY_MEDIUM = 2
- QUALITY_MINIMAL = 0
- QUALITY_OPTIMAL = 5
- QUALITY_VERYHIGH = 4
- WIDTH = 0
- background() : MediaManipulatorInterface
- blur() : MediaManipulatorInterface
- dimensions() : mixed
- fit() : MediaManipulatorInterface
- grayscale() : MediaManipulatorInterface
- load() : MediaManipulatorInterface
- poster() : MediaManipulatorInterface
- quality() : MediaManipulatorInterface
- scale() : MediaManipulatorInterface
- store() : Blob
- supports() : bool
Constants
HEIGHT
public
mixed
HEIGHT
= 1
QUALITY_HIGH
public
mixed
QUALITY_HIGH
= 3
QUALITY_LOW
public
mixed
QUALITY_LOW
= 1
QUALITY_MEDIUM
public
mixed
QUALITY_MEDIUM
= 2
QUALITY_MINIMAL
public
mixed
QUALITY_MINIMAL
= 0
QUALITY_OPTIMAL
public
mixed
QUALITY_OPTIMAL
= 5
QUALITY_VERYHIGH
public
mixed
QUALITY_VERYHIGH
= 4
WIDTH
public
mixed
WIDTH
= 0
Methods
background()
public
background(mixed $r, mixed $g, mixed $b, mixed $alpha) : MediaManipulatorInterface
Parameters
- $r : mixed
- $g : mixed
- $b : mixed
- $alpha : mixed
Return values
MediaManipulatorInterface —blur()
public
blur() : MediaManipulatorInterface
Return values
MediaManipulatorInterface —dimensions()
public
dimensions() : mixed
Return values
mixed —fit()
public
fit(mixed $x, mixed $y) : MediaManipulatorInterface
Parameters
- $x : mixed
- $y : mixed
Return values
MediaManipulatorInterface —grayscale()
public
grayscale() : MediaManipulatorInterface
Return values
MediaManipulatorInterface —load()
public
load(Blob $blob) : MediaManipulatorInterface
Parameters
- $blob : Blob
Return values
MediaManipulatorInterface —poster()
public
poster() : MediaManipulatorInterface
Return values
MediaManipulatorInterface —quality()
public
quality([mixed $target = MediaManipulatorInterface::QUALITY_VERYHIGH ]) : MediaManipulatorInterface
Parameters
- $target : mixed = MediaManipulatorInterface::QUALITY_VERYHIGH
Return values
MediaManipulatorInterface —scale()
public
scale(mixed $target[, mixed $side = MediaManipulatorInterface::WIDTH ]) : MediaManipulatorInterface
Parameters
- $target : mixed
- $side : mixed = MediaManipulatorInterface::WIDTH
Return values
MediaManipulatorInterface —store()
public
store(Blob $location) : Blob
Parameters
- $location : Blob
Return values
Blob —supports()
public
supports(string $mime) : bool
Parameters
- $mime : string