MediaWiki REL1_31
|
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 31 of file PdfImage.php.
PdfImage::__construct | ( | $filename | ) |
string | $filename |
Definition at line 41 of file PdfImage.php.
|
protected |
string | $dump |
Definition at line 174 of file PdfImage.php.
References $line, $lines, $matches, $value, and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
|
static |
array | $data | |
int | $page |
Definition at line 73 of file PdfImage.php.
References $t.
Referenced by PdfHandler\getDimensionInfo(), and getImageSize().
PdfImage::isValid | ( | ) |
Definition at line 48 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 226 of file PdfImage.php.
References $type, and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 118 of file PdfImage.php.
References $mFilename, $retval, convertDumpToArray(), and pages.
|
private |
Definition at line 36 of file PdfImage.php.
Referenced by retrieveMetaData().