MediaWiki
1.28.0
|
PNG frame counter. More...
Static Public Member Functions | |
static | getMetadata ($filename) |
Public Attributes | |
const | MAX_CHUNK_SIZE = 3145728 |
const | VERSION = 1 |
Static Private Member Functions | |
static | read ($fh, $size) |
Read a chunk, checking to make sure its not too big. More... | |
Static Private Attributes | |
static int | $crcSize |
static string | $pngSig |
static array | $textChunks |
PNG frame counter.
Definition at line 33 of file PNGMetadataExtractor.php.
|
static |
Definition at line 46 of file PNGMetadataExtractor.php.
References $content, $name, $t, $value, as, is(), list, TS_EXIF, wfDebug(), and wfTimestamp().
Referenced by BitmapMetadataHandler\PNG(), PNGMetadataExtractorTest\testApngAnimationMetadata(), PNGMetadataExtractorTest\testPngBitDepth1(), PNGMetadataExtractorTest\testPngBitDepth8(), PNGMetadataExtractorTest\testPngGreyscaleColour(), PNGMetadataExtractorTest\testPngGreyscaleNoAlphaColour(), PNGMetadataExtractorTest\testPngIndexColour(), PNGMetadataExtractorTest\testPngNativeText(), PNGMetadataExtractorTest\testPngNativeTextNonAscii(), PNGMetadataExtractorTest\testPngNativetZtxt(), PNGMetadataExtractorTest\testPngRgbColour(), PNGMetadataExtractorTest\testPngRgbNoAlphaColour(), and PNGMetadataExtractorTest\testStaticPngAnimationMetadata().
|
staticprivate |
Read a chunk, checking to make sure its not too big.
resource | $fh | The file handle |
int | $size | Size in bytes. |
Exception | If too big |
Definition at line 418 of file PNGMetadataExtractor.php.
|
staticprivate |
Definition at line 38 of file PNGMetadataExtractor.php.
|
staticprivate |
Definition at line 35 of file PNGMetadataExtractor.php.
|
staticprivate |
Definition at line 41 of file PNGMetadataExtractor.php.
const PNGMetadataExtractor::MAX_CHUNK_SIZE = 3145728 |
Definition at line 44 of file PNGMetadataExtractor.php.
const PNGMetadataExtractor::VERSION = 1 |
Definition at line 43 of file PNGMetadataExtractor.php.
Referenced by PNGHandler\isMetadataValid(), and BitmapMetadataHandler\PNG().