MediaWiki
1.33.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... | |
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, as, captcha-old\count, and postProcessDump().
Referenced by retrieveMetaData().
PdfImage::getImageSize | ( | ) |
|
static |
array | $data | |
int | $page |
Definition at line 74 of file PdfImage.php.
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, as, captcha-old\count, and wfTimestamp().
Referenced by convertDumpToArray().
PdfImage::retrieveMetaData | ( | ) |
Definition at line 119 of file PdfImage.php.
References $data, $mFilename, as, convertDumpToArray(), page, pages, and text.
|
private |
Definition at line 37 of file PdfImage.php.
Referenced by retrieveMetaData().