open()
open( $imageFile) : \Grafika\Gd\Helper\GifByteStream
Parameters
$imageFile |
Throws
- \Exception
open( $imageFile) : \Grafika\Gd\Helper\GifByteStream
$imageFile |
load(string $bin) : \Grafika\Gd\Helper\GifByteStream
string | $bin | Raw binary data from imagegif or file_get_contents |
isAnimated(\Grafika\Gd\Helper\GifByteStream $bytes) : boolean
\Grafika\Gd\Helper\GifByteStream | $bytes |
decode(\Grafika\Gd\Helper\GifByteStream $bytes) : array
Decode GIF into array of data for easy use in PHP userland.
\Grafika\Gd\Helper\GifByteStream | $bytes | Decode byte stream into array of GIF blocks. |
Array containing GIF data
decodeToBlocks(\Grafika\Gd\Helper\GifByteStream $bytes) : array
Decompose GIF into its block components. The GIF blocks are in the order that they appear in the byte stream.
\Grafika\Gd\Helper\GifByteStream | $bytes |