MediaWiki
1.23.2
|
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 | $crcSize |
static | $pngSig |
static | $textChunks |
PNG frame counter.
Definition at line 33 of file PNGMetadataExtractor.php.
|
static |
Definition at line 46 of file PNGMetadataExtractor.php.
References $name, $t, $value, array(), as, in, is(), list, output(), read(), so(), some, support, TS_EXIF, 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().
|
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 419 of file PNGMetadataExtractor.php.
References $size.
Referenced by getMetadata().
|
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().