|
Cheetah
|
Public Member Functions | |
| initFromPath ($path) | |
| initFromBinary ($data) | |
| initFromGdResource ($resource) | |
| initFromImagick (\Imagick $object) | |
| __construct ($data=null) | |
| initFromUrl ($url) | |
| initFromStream ($stream) | |
| isGdResource () | |
| isImagick () | |
| isInterventionImage () | |
| isSplFileInfo () | |
| isSymfonyUpload () | |
| isFilePath () | |
| isUrl () | |
| isStream () | |
| isBinary () | |
| isDataUrl () | |
| isBase64 () | |
| initFromInterventionImage ($object) | |
| init ($data) | |
| __toString () | |
Definition at line 5 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::__construct | ( | $data = null | ) |
Creates new Decoder with data
| mixed | $data |
Definition at line 51 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::__toString | ( | ) |
Decoder object transforms to string source data
Definition at line 303 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::init | ( | $data | ) |
Initiates new image from mixed data
| mixed | $data |
Definition at line 257 of file AbstractDecoder.php.
|
abstract |
Initiates new image from binary data
| string | $data |
Reimplemented in Intervention\Image\Imagick\Decoder, and Intervention\Image\Gd\Decoder.
|
abstract |
Initiates new image from GD resource
| Resource | $resource |
Reimplemented in Intervention\Image\Imagick\Decoder, and Intervention\Image\Gd\Decoder.
|
abstract |
Initiates new image from Imagick object
| Imagick | $object |
Reimplemented in Intervention\Image\Imagick\Decoder, and Intervention\Image\Gd\Decoder.
| Intervention\Image\AbstractDecoder::initFromInterventionImage | ( | $object | ) |
Initiates new Image from Intervention\Image\Image
| Image | $object |
Definition at line 228 of file AbstractDecoder.php.
|
abstract |
Initiates new image from path in filesystem
| string | $path |
Reimplemented in Intervention\Image\Imagick\Decoder, and Intervention\Image\Gd\Decoder.
| Intervention\Image\AbstractDecoder::initFromStream | ( | $stream | ) |
Init from given stream
| $stream |
Definition at line 79 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::initFromUrl | ( | $url | ) |
Init from fiven URL
| string | $url |
Definition at line 62 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isBase64 | ( | ) |
Determines if current source data is base64 encoded
Definition at line 217 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isBinary | ( | ) |
Determines if current source data is binary data
Definition at line 190 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isDataUrl | ( | ) |
Determines if current source data is data-url
Definition at line 205 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isFilePath | ( | ) |
Determines if current source data is file path
Definition at line 153 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isGdResource | ( | ) |
Determines if current source data is GD resource
Definition at line 99 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isImagick | ( | ) |
Determines if current source data is Imagick object
Definition at line 113 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isInterventionImage | ( | ) |
Determines if current source data is Intervention\Image\Image object
Definition at line 123 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isSplFileInfo | ( | ) |
Determines if current data is SplFileInfo object
Definition at line 133 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isStream | ( | ) |
Determines if current source data is a stream resource
Definition at line 177 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isSymfonyUpload | ( | ) |
Determines if current data is Symfony UploadedFile component
Definition at line 143 of file AbstractDecoder.php.
| Intervention\Image\AbstractDecoder::isUrl | ( | ) |
Determines if current source data is url
Definition at line 167 of file AbstractDecoder.php.