| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Handler for the Gimp's native file format (XCF) Overview: http://en.wikipedia.org/wiki/XCF_(file_format) Specification in Gnome repository: http://svn.gnome.org/viewvc/gimp/trunk/devel-docs/xcf.txt?view=markup
| File Size: | 233 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
XCFHandler:: (8 methods):
mustRender()
getThumbType()
getImageSize()
getXCFMetaData()
getMetadata()
isMetadataValid()
getScalerType()
canRender()
Class: XCFHandler - X-Ref
Handler for the Gimp's native file format; getimagesize() doesn't| mustRender( $file ) X-Ref |
param: File $file return: bool |
| getThumbType( $ext, $mime, $params = null ) X-Ref |
| Render files as PNG param: string $ext param: string $mime param: array $params return: array |
| getImageSize( $image, $filename ) X-Ref |
| Get width and height from the XCF header. param: File $image param: string $filename return: array |
| getXCFMetaData( $filename ) X-Ref |
| Metadata for a given XCF file Will return false if file magic signature is not recognized author: Hexmode author: Hashar param: string $filename Full path to a XCF file return: bool|array Metadata Array just like PHP getimagesize() |
| getMetadata( $file, $filename ) X-Ref |
| Store the channel type Greyscale files need different command line options. param: File $file The image object, or false if there isn't one. param: string $filename The filename return: string |
| isMetadataValid( $file, $metadata ) X-Ref |
| Should we refresh the metadata param: File $file The file object for the file in question param: string $metadata Serialized metadata return: bool One of the self::METADATA_(BAD|GOOD|COMPATIBLE) constants |
| getScalerType( $dstPath, $checkDstPath = true ) X-Ref |
| Must use "im" for XCF param: string $dstPath param: bool $checkDstPath return: string |
| canRender( $file ) X-Ref |
| Can we render this file? Image magick doesn't support indexed xcf files as of current writing (as of 6.8.9-3) param: File $file return: bool |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |