MediaWiki
REL1_21
|
Public Member Functions | |
testApngAnimationMetadata () | |
Given an animated APNG image file check it gets animated metadata right. | |
testPngBitDepth1 () | |
testPngBitDepth8 () | |
testPngGreyscaleColour () | |
testPngGreyscaleNoAlphaColour () | |
testPngIndexColour () | |
testPngNativeText () | |
Test tEXt tag (Uncompressed textual metadata) | |
testPngNativeTextNonAscii () | |
tEXt tags must be encoded iso-8859-1 (vs iTXt which are utf-8) Make sure non-ascii characters get converted properly | |
testPngNativetZtxt () | |
Tests zTXt tag (compressed textual metadata) | |
testPngRgbColour () | |
testPngRgbNoAlphaColour () | |
testStaticPngAnimationMetadata () | |
Test extraction of pHYs tags, which can tell what the actual resolution of the image is (aka in dots per meter). | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. |
Definition at line 2 of file PNGMetadataExtractorTest.php.
PNGMetadataExtractorTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 4 of file PNGMetadataExtractorTest.php.
Given an animated APNG image file check it gets animated metadata right.
Definition at line 98 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 115 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 108 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 141 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 147 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 122 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Test tEXt tag (Uncompressed textual metadata)
Definition at line 29 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
tEXt tags must be encoded iso-8859-1 (vs iTXt which are utf-8) Make sure non-ascii characters get converted properly
Definition at line 46 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Tests zTXt tag (compressed textual metadata)
Definition at line 12 of file PNGMetadataExtractorTest.php.
References MediaWikiTestCase\checkPHPExtension(), and PNGMetadataExtractor\getMetadata().
Definition at line 129 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 135 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Test extraction of pHYs tags, which can tell what the actual resolution of the image is (aka in dots per meter).
Given a normal static PNG, check the animation metadata returned.
Definition at line 85 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().