MediaWiki REL1_33
|
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 $data, $line, $lines, $matches, $value, and(), and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
Definition at line 56 of file PdfImage.php.
References $data, and(), and getPageSize().
|
static |
array | $data | |
int | $page |
Definition at line 74 of file PdfImage.php.
References $data, $t, and and().
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 $data, $type, and(), and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 119 of file PdfImage.php.
References $data, $mFilename, and(), convertDumpToArray(), and pages.
|
private |
Definition at line 37 of file PdfImage.php.
Referenced by retrieveMetaData().