|
MediaWiki
REL1_19
|
PNG frame counter. More...
Static Public Member Functions | |
| static | getMetadata ($filename) |
Public Attributes | |
| const | MAX_CHUNK_SIZE = 3145728 |
| const | VERSION = 1 |
Static Public Attributes | |
| static | $CRC_size |
| static | $png_sig |
| static | $text_chunks |
Static Private Member Functions | |
| static | read ($fh, $size) |
| Read a chunk, checking to make sure its not too big. | |
PNG frame counter.
Definition at line 17 of file PNGMetadataExtractor.php.
| static PNGMetadataExtractor::getMetadata | ( | $ | filename | ) | [static] |
Definition at line 25 of file PNGMetadataExtractor.php.
References $t, read(), wfDebug(), wfRestoreWarnings(), wfSuppressWarnings(), and wfTimestamp().
Referenced by BitmapMetadataHandler\PNG(), PNGMetadataExtractorTest\testPngNativeText(), PNGMetadataExtractorTest\testPngNativeTextNonAscii(), and PNGMetadataExtractorTest\testPngNativetZtxt().


| static PNGMetadataExtractor::read | ( | $ | fh, |
| $ | size | ||
| ) | [static, private] |
Read a chunk, checking to make sure its not too big.
| $fh | resource The file handle |
| $size | Integer size in bytes. |
| Exception | if too big. |
Definition at line 404 of file PNGMetadataExtractor.php.
References $size.
Referenced by getMetadata().

PNGMetadataExtractor::$CRC_size [static] |
Definition at line 19 of file PNGMetadataExtractor.php.
PNGMetadataExtractor::$png_sig [static] |
Definition at line 18 of file PNGMetadataExtractor.php.
PNGMetadataExtractor::$text_chunks [static] |
Definition at line 20 of file PNGMetadataExtractor.php.
| const PNGMetadataExtractor::MAX_CHUNK_SIZE = 3145728 |
Definition at line 23 of file PNGMetadataExtractor.php.
| const PNGMetadataExtractor::VERSION = 1 |
Definition at line 22 of file PNGMetadataExtractor.php.
Referenced by PNGHandler\isMetadataValid(), and BitmapMetadataHandler\PNG().