|
MediaWiki
REL1_19
|
Handler for the Gimp's native file format; getimagesize() doesn't support these files. More...


Public Member Functions | |
| getImageSize ($image, $filename) | |
| Get width and height from the XCF header. | |
| getThumbType ($ext, $mime, $params=null) | |
| Render files as PNG. | |
| mustRender ($file) | |
Static Public Member Functions | |
| static | getXCFMetaData ($filename) |
| Metadata for a given XCF file. | |
Static Protected Member Functions | |
| static | getScalerType ($dstPath, $checkDstPath=true) |
| Must use "im" for XCF. | |
Handler for the Gimp's native file format; getimagesize() doesn't support these files.
| XCFHandler::getImageSize | ( | $ | image, |
| $ | filename | ||
| ) |
Get width and height from the XCF header.
| $image | |
| $filename |
Reimplemented from ImageHandler.
Definition at line 49 of file XCF.php.
References getXCFMetaData().

| static XCFHandler::getScalerType | ( | $ | dstPath, |
| $ | checkDstPath = true |
||
| ) | [static, protected] |
| XCFHandler::getThumbType | ( | $ | ext, |
| $ | mime, | ||
| $ | params = null |
||
| ) |
| static XCFHandler::getXCFMetaData | ( | $ | filename | ) | [static] |
Metadata for a given XCF file.
Will return false if file magic signature is not recognized
| $filename | String Full path to a XCF file |
Definition at line 63 of file XCF.php.
References $f, wfDebug(), and wfUnpack().
Referenced by getImageSize().


| XCFHandler::mustRender | ( | $ | file | ) |