MediaWiki REL1_41
|
Class to extract and validate Exif data from jpeg (and possibly tiff) files. More...
Public Member Functions | |
__construct ( $file, $byteOrder='') | |
getData () | |
#- | |
getFilteredData () | |
Get $this->mFilteredExifData. | |
Static Public Member Functions | |
static | version () |
#- | |
Class to extract and validate Exif data from jpeg (and possibly tiff) files.
Exif::__construct | ( | $file, | |
$byteOrder = '' ) |
string | $file | Filename. |
string | $byteOrder | Type of byte ordering either 'BE' (Big Endian) or 'LE' (Little Endian). Default ''. |
Definition at line 110 of file Exif.php.
References $file, wfBaseName(), and wfWarn().
Exif::getData | ( | ) |
Exif::getFilteredData | ( | ) |
|
static |
#-
The version of the output format
Before the actual metadata information is saved in the database we strip some of it since we don't want to save things like thumbnails which usually accompany Exif data. This value gets saved in the database along with the actual Exif data, and if the version in the database doesn't equal the value returned by this function the Exif data is regenerated.
Definition at line 714 of file Exif.php.
Referenced by JpegHandler\getSizeAndMetadata(), TiffHandler\getSizeAndMetadata(), ExifBitmapHandler\isFileMetadataValid(), and BitmapMetadataHandler\Tiff().