GifHelper
class GifHelper
Methods
open($imageFile)
No description
load(string $bin)
No description
bool
string
encode(array $data)
Encode data into GIF hex string.
array
array
decodeToBlocks(GifByteStream $bytes)
Decompose GIF into its block components. The GIF blocks are in the order that they appear in the byte stream.
array
expandBlocks(array $blocks)
Expand GIF blocks into useful info.
array
splitFrames(array $blocks)
No description
array
resize($blocks, $newW, $newH)
No description
Details
at line line 12
GifByteStream
open($imageFile)
at line line 33
GifByteStream
load(string $bin)
at line line 45
bool
isAnimated(GifByteStream $bytes)
at line line 66
string
encode(array $data)
Encode data into GIF hex string.
at line line 149
array
decode(GifByteStream $bytes)
Decode GIF into array of data for easy use in PHP userland.
at line line 164
array
decodeToBlocks(GifByteStream $bytes)
Decompose GIF into its block components. The GIF blocks are in the order that they appear in the byte stream.
at line line 341
array
expandBlocks(array $blocks)
Expand GIF blocks into useful info.