Method | Description | |
---|---|---|
destroy ( ) | Destroys the image. | |
getHeight ( ) : integer | Returns image height. | |
getPixelColor ( integer $x, integer $y ) : object | Returns the color of the specified pixel. | |
getResource ( ) : resource | Get the raw resource | |
getWidth ( ) : integer | Returns image width. | |
load ( resource | object $resource ) | Loads an image resource. | |
loadBinaryString ( string $data ) | Loads an image from a binary string representation. | |
loadFile ( string $path ) | Loads an image from file. |
public loadBinaryString ( string $data ) | ||
$data | string |