MediaWiki  REL1_19
JpegHandler Class Reference

JPEG specific handler. More...

Inheritance diagram for JpegHandler:
Collaboration diagram for JpegHandler:

List of all members.

Public Member Functions

 getMetadata ($image, $filename)
 Get handler-specific metadata which will be saved in the img_metadata field.

Detailed Description

JPEG specific handler.

Inherits most stuff from BitmapHandler, just here to do the metadata handler differently.

Metadata stuff common to Jpeg and built-in Tiff (not PagedTiffHandler) is in ExifBitmapHandler.

Definition at line 16 of file Jpeg.php.


Member Function Documentation

JpegHandler::getMetadata ( image,
path 
)

Get handler-specific metadata which will be saved in the img_metadata field.

Parameters:
$imageFile: the image object, or false if there isn't one. Warning, FSFile::getPropsFromPath might pass an (object)array() instead (!)
$pathString: the filename
Returns:
String

Reimplemented from MediaHandler.

Definition at line 18 of file Jpeg.php.

References ExifBitmapHandler\BROKEN_FILE, BitmapMetadataHandler\Jpeg(), Exif\version(), and wfDebug().

Here is the call graph for this function:


The documentation for this class was generated from the following file: