< Extension:PagedTiffHandler < Hooks
| PagedTiffHandlerExifData | |
|---|---|
| Available from version ??? Override extraction of Exif metadata from tiff files (otherwise handled by exiv2 or PHP's read_exif_info) |
|
| Define function: | public static function onPagedTiffHandlerExifData( string $fileName, array &$metadata ) { ... }
|
| Attach hook: | $wgHooks['PagedTiffHandlerExifData'][] = 'MyExtensionHooks::onPagedTiffHandlerExifData';
|
| Called from: | File(s): PagedTiffHandler / includes/PagedTiffImage.php Function(s): retrieveMetaData |
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:PagedTiffHandlerExifData extensions.
Details
$fileName- The filename string from which to retrieve the metadata&$exif- array of Exif metadata key/value pairs
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.