MediaWiki
REL1_22
|
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 6 of file PNGMetadataExtractorTest.php.
PNGMetadataExtractorTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 8 of file PNGMetadataExtractorTest.php.
Given an animated APNG image file check it gets animated metadata right.
Definition at line 101 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 118 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 111 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 144 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 150 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 125 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Test tEXt tag (Uncompressed textual metadata)
Definition at line 33 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 50 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Tests zTXt tag (compressed textual metadata)
Definition at line 16 of file PNGMetadataExtractorTest.php.
References MediaWikiTestCase\checkPHPExtension(), and PNGMetadataExtractor\getMetadata().
Definition at line 132 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().
Definition at line 138 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 88 of file PNGMetadataExtractorTest.php.
References PNGMetadataExtractor\getMetadata().