MediaWiki
REL1_22
|
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 64 of file XCF.php.
References getXCFMetaData().
static XCFHandler::getScalerType | ( | $ | dstPath, |
$ | checkDstPath = true |
||
) | [static, protected] |
XCFHandler::getThumbType | ( | $ | ext, |
$ | mime, | ||
$ | params = null |
||
) |
Render files as PNG.
$ext | |
$mime | |
$params |
Reimplemented from MediaHandler.
Definition at line 53 of file XCF.php.
References array().
static XCFHandler::getXCFMetaData | ( | $ | filename | ) | [static] |
Metadata for a given XCF file.
Will return false if file magic signature is not recognized
string | $filename | Full path to a XCF file |
Definition at line 78 of file XCF.php.
References $f, array(), color, wfDebug(), and wfUnpack().
Referenced by getImageSize().
XCFHandler::mustRender | ( | $ | file | ) |