blob()
blob(string|\Grafika\ImageType $type)
Output a binary raw dump of an image in a specified format.
Parameters
string|\Grafika\ImageType | $type | Image format of the dump. See Grafika\ImageType for supported formats. |
Interface ImageInterface
blob(string|\Grafika\ImageType $type)
Output a binary raw dump of an image in a specified format.
string|\Grafika\ImageType | $type | Image format of the dump. See Grafika\ImageType for supported formats. |
createBlank(integer $width = 1, integer $height = 1) : \Grafika\ImageInterface
Create a blank image.
integer | $width | Width of image in pixels. |
integer | $height | Height of image in pixels. |
Instance of image.
createFromCore(resource|\Imagick $core) : \Grafika\ImageInterface
Create Image from core.
resource|\Imagick | $core | GD resource for GD editor or Imagick instance for Imagick editor |
Instance of image.
createFromFile(string $imageFile) : \Grafika\ImageInterface
Create Image from image file.
string | $imageFile | Path to image file. |
Instance of image.