Inherits BitmapHandler.
Public Member Functions | |
getMetadata ($image, $filename) | |
Get handler-specific metadata which will be saved in the img_metadata field. | |
formatMetadata ($image) | |
Get an array structure that looks like this:. | |
getImageArea ($image, $width, $height) | |
getMetadataType ($image) | |
Get a string describing the type of metadata, for display purposes. | |
getLongDesc ($image) |
Definition at line 12 of file GIF.php.
GIFHandler::formatMetadata | ( | $ | image | ) |
Get an array structure that looks like this:.
array( 'visible' => array( 'Human-readable name' => 'Human readable value', ... ), 'collapsed' => array( 'Human-readable name' => 'Human readable value', ... ) ) The UI will format this into a table where the visible fields are always visible, and the collapsed fields are optionally visible.
The function should return false if there is no metadata to display. FIXME: I don't really like this interface, it's not very flexible I think the media handler should generate HTML instead. It can do all the formatting according to some standard. That makes it possible to do things like visual indication of grouped and chained streams in ogg container files.
Reimplemented from BitmapHandler.
GIFHandler::getImageArea | ( | $ | image, | |
$ | width, | |||
$ | height | |||
) |
GIFHandler::getLongDesc | ( | $ | image | ) |
Reimplemented from ImageHandler.
Definition at line 47 of file GIF.php.
References $wgLang, $wgUser, and wfMsgExt().
GIFHandler::getMetadata | ( | $ | image, | |
$ | path | |||
) |
GIFHandler::getMetadataType | ( | $ | image | ) |
Get a string describing the type of metadata, for display purposes.
Reimplemented from BitmapHandler.