PNG frame counter.
More...
|
static | read ( $fh, $size) |
| Read a chunk, checking to make sure its not too big. More...
|
|
PNG frame counter.
Definition at line 33 of file PNGMetadataExtractor.php.
◆ getMetadata()
static PNGMetadataExtractor::getMetadata |
( |
|
$filename | ) |
|
|
static |
◆ read()
static PNGMetadataExtractor::read |
( |
|
$fh, |
|
|
|
$size |
|
) |
| |
|
staticprivate |
Read a chunk, checking to make sure its not too big.
- Parameters
-
resource | $fh | The file handle |
int | $size | Size in bytes. |
- Exceptions
-
- Returns
- string The chunk.
Definition at line 420 of file PNGMetadataExtractor.php.
References $fh.
Referenced by getMetadata().
◆ $crcSize
int PNGMetadataExtractor::$crcSize |
|
staticprivate |
◆ $pngSig
string PNGMetadataExtractor::$pngSig |
|
staticprivate |
◆ $textChunks
array PNGMetadataExtractor::$textChunks |
|
staticprivate |
◆ MAX_CHUNK_SIZE
const PNGMetadataExtractor::MAX_CHUNK_SIZE = 3145728 |
◆ VERSION
const PNGMetadataExtractor::VERSION = 1 |
The documentation for this class was generated from the following file: