MediaWiki REL1_34
|
inspired by djvuimage from Brion Vibber modified and written by xarax More...
Public Member Functions | |
__construct ( $filename) | |
getImageSize () | |
isValid () | |
retrieveMetaData () | |
Static Public Member Functions | |
static | getPageSize ( $data, $page) |
Protected Member Functions | |
convertDumpToArray ( $dump) | |
postProcessDump (array $data) | |
Postprocess the metadata (convert xmp into useful form, etc) | |
Private Attributes | |
string | $mFilename |
inspired by djvuimage from Brion Vibber modified and written by xarax
Definition at line 32 of file PdfImage.php.
PdfImage::__construct | ( | $filename | ) |
string | $filename |
Definition at line 42 of file PdfImage.php.
|
protected |
string | $dump |
Definition at line 175 of file PdfImage.php.
References $line, $lines, $matches, and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
|
static |
array | $data | |
int | $page |
Definition at line 74 of file PdfImage.php.
References $t.
Referenced by PdfHandler\getDimensionInfo(), and getImageSize().
PdfImage::isValid | ( | ) |
Definition at line 49 of file PdfImage.php.
|
protected |
Postprocess the metadata (convert xmp into useful form, etc)
This is used to generate the metadata table at the bottom of the image description page.
array | $data | metadata |
Definition at line 228 of file PdfImage.php.
References $type, and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 119 of file PdfImage.php.
References $mFilename, and convertDumpToArray().
|
private |
Definition at line 37 of file PdfImage.php.
Referenced by retrieveMetaData().