MediaWiki
REL1_19
|
JPEG specific handler. More...
Public Member Functions | |
getMetadata ($image, $filename) | |
Get handler-specific metadata which will be saved in the img_metadata field. |
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.
JpegHandler::getMetadata | ( | $ | image, |
$ | path | ||
) |
Get handler-specific metadata which will be saved in the img_metadata field.
$image | File: the image object, or false if there isn't one. Warning, FSFile::getPropsFromPath might pass an (object)array() instead (!) |
$path | String: the filename |
Reimplemented from MediaHandler.
Definition at line 18 of file Jpeg.php.
References ExifBitmapHandler\BROKEN_FILE, BitmapMetadataHandler\Jpeg(), Exif\version(), and wfDebug().