MediaWiki
1.30.0
|
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) More... | |
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 152 of file PdfHandler.image.php.
References $line, $lines, $matches, $value, as, captcha-old::count, and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
Definition at line 49 of file PdfHandler.image.php.
|
static |
$data | array |
$page |
Definition at line 67 of file PdfHandler.image.php.
Referenced by PdfHandler::getDimensionInfo().
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 204 of file PdfHandler.image.php.
References $type, as, captcha-old::count, and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 112 of file PdfHandler.image.php.
References $retval, as, convertDumpToArray(), global, page, pages, text, wfDebug(), wfEscapeShellArg(), and wfShellExec().