Extension:PagedTiffHandler/Hooks/PagedTiffHandlerExifData

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

edit
  • $fileName - The filename string from which to retrieve the metadata
  • &$exif - array of Exif metadata key/value pairs