GIF frame counter.
More...
GIF frame counter.
Definition at line 34 of file GIFMetadataExtractor.php.
static GIFMetadataExtractor::decodeBPP |
( |
|
$data | ) |
|
|
static |
static GIFMetadataExtractor::getMetadata |
( |
|
$filename | ) |
|
|
static |
static GIFMetadataExtractor::readBlock |
( |
|
$fh, |
|
|
|
$includeLengths = false |
|
) |
| |
|
static |
Read a block.
In the GIF format, a block is made up of several sub-blocks. Each sub block starts with one byte saying how long the sub-block is, followed by the sub-block. The entire block is terminated by a sub-block of length 0.
- Parameters
-
resource | $fh | File handle |
bool | $includeLengths | Include the length bytes of the sub-blocks in the returned value. Normally this is false, except XMP is weird and does a hack where you need to keep these length bytes. |
- Exceptions
-
- Returns
- string The data.
Definition at line 321 of file GIFMetadataExtractor.php.
static GIFMetadataExtractor::readGCT |
( |
|
$fh, |
|
|
|
$bpp |
|
) |
| |
|
static |
static GIFMetadataExtractor::skipBlock |
( |
|
$fh | ) |
|
|
static |
string GIFMetadataExtractor::$gifExtensionSep |
|
staticprivate |
string GIFMetadataExtractor::$gifFrameSep |
|
staticprivate |
string GIFMetadataExtractor::$gifTerm |
|
staticprivate |
const GIFMetadataExtractor::MAX_SUBBLOCKS = 262144 |
const GIFMetadataExtractor::VERSION = 1 |
The documentation for this class was generated from the following file: