Extension:PagedTiffHandler/Hooks/PagedTiffHandlerTiffData
Appearance
From mediawiki.org
PagedTiffHandlerTiffData
Available from version ???
Override TIFF extraction (otherwise handled by identify or tiffinfo)
Override TIFF extraction (otherwise handled by identify or tiffinfo)
Define function:
public static function onPagedTiffHandlerTiffData( string $fileName, array &$metadata ) { ... }
Attach hook:
$wgHooks['PagedTiffHandlerTiffData'][] = 'MyExtensionHooks::onPagedTiffHandlerTiffData';
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:PagedTiffHandlerTiffData extensions.
Details
[edit ]$fileName- The filename string from which to retrieve the metadata&$metadata- Array of metadata information for width, height, pages etc.