|
| $sourceFileResourceType |
|
| $backend |
|
| $sourceFileDir |
|
| $sourceFileName |
|
| $requestedWidth |
|
| $requestedHeight |
|
| $resizedImageFileName |
|
| $resizedImageData |
|
| $resizedImageSize |
|
| $resizedImageMimeType |
|
| $timestamp |
|
ExtensionMimeTypeDetector | $mimeTypeDetector |
|
◆ create()
◆ exists()
Checks if the resized image already exists.
- Returns
- bool
◆ getDirectory()
◆ getFileName()
Returns the resized image file name.
- Returns
- string
◆ getFilePath()
Returns the backend-relative resized image file path.
- Returns
- string
◆ getImageData()
Returns the resized image binary data.
- Returns
- string binary image date
◆ getMimeType()
Returns the resized image MIME type.
- Returns
- string
◆ getResourceType()
Returns the resized image resource type.
- Returns
- ResourceType
◆ getSize()
Returns the resized image size in bytes.
- Exceptions
-
◆ getTimestamp()
Returns a timestamp of the last modification of this resized image.
- Returns
- int timestamp
◆ load()
Loads an existing resized image from a backend.
- Exceptions
-
◆ readStream()
Returns image data stream.
- Returns
- bool|false|resource
- Exceptions
-
◆ save()
Saves the resized image in the backend.
- Returns
- bool
true
if saved successfully
◆ setImageData()
setImageData |
( |
|
$imageData | ) |
|
Sets the image data.
- Parameters
-
string | $imageData | binary image data |
The documentation for this class was generated from the following file: