MediaWiki REL1_30
|
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) | |
inspired by djvuimage from Brion Vibber modified and written by xarax
Definition at line 30 of file PdfHandler.image.php.
PdfImage::__construct | ( | $filename | ) |
$filename |
Definition at line 35 of file PdfHandler.image.php.
|
protected |
$dump | string |
Definition at line 163 of file PdfHandler.image.php.
References $line, $lines, $matches, $value, and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
|
static |
$data | array |
$page |
Definition at line 67 of file PdfHandler.image.php.
References $t.
Referenced by PdfHandler\getDimensionInfo(), and getImageSize().
PdfImage::isValid | ( | ) |
Definition at line 42 of file PdfHandler.image.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.
$data | Array metadata |
Definition at line 215 of file PdfHandler.image.php.
References $type, and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 112 of file PdfHandler.image.php.
References $retval, convertDumpToArray(), pages, wfDebug(), wfEscapeShellArg(), and wfShellExec().