ImageInterface
interface ImageInterface
Interface ImageInterface
Methods
static ImageInterface
createBlank(int $width = 1, int $height = 1)
Create a blank image.
static ImageInterface
createFromCore(resource|Imagick $core)
Create Image from core.
static ImageInterface
createFromFile(string $imageFile)
Create Image from image file.
resource|Imagick
getCore()
Get Image core.
int
getHeight()
No description
string
getImageFile()
No description
string
getType()
No description
int
getWidth()
No description
bool
isAnimated()
Returns animated flag.
Details
at line line 16
blob(string|ImageType $type)
Output a binary raw dump of an image in a specified format.
at line line 26
static ImageInterface
createBlank(int $width = 1, int $height = 1)
Create a blank image.
at line line 35
static ImageInterface
createFromCore(resource|Imagick $core)
Create Image from core.
at line line 44
static ImageInterface
createFromFile(string $imageFile)
Create Image from image file.
at line line 51
resource|Imagick
getCore()
Get Image core.
at line line 56
int
getHeight()
at line line 61
string
getImageFile()
at line line 66
string
getType()
at line line 71
int
getWidth()
at line line 78
bool
isAnimated()
Returns animated flag.