MediaWiki
REL1_22
|
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 33 of file PNGMetadataExtractor.php.
static PNGMetadataExtractor::getMetadata | ( | $ | filename | ) | [static] |
Definition at line 41 of file PNGMetadataExtractor.php.
References $name, $t, $value, array(), as, in, is, list, output(), read(), so, some, support, used, wfDebug(), wfRestoreWarnings(), wfSuppressWarnings(), 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().
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 420 of file PNGMetadataExtractor.php.
References $size.
Referenced by getMetadata().
PNGMetadataExtractor::$CRC_size [static] |
Definition at line 35 of file PNGMetadataExtractor.php.
PNGMetadataExtractor::$png_sig [static] |
Definition at line 34 of file PNGMetadataExtractor.php.
PNGMetadataExtractor::$text_chunks [static] |
Definition at line 36 of file PNGMetadataExtractor.php.
const PNGMetadataExtractor::MAX_CHUNK_SIZE = 3145728 |
Definition at line 39 of file PNGMetadataExtractor.php.
const PNGMetadataExtractor::VERSION = 1 |
Definition at line 38 of file PNGMetadataExtractor.php.
Referenced by PNGHandler\isMetadataValid(), and BitmapMetadataHandler\PNG().