GeezerVison is showing www.mediawiki.org — Extension:PagedTiffHandler/Hooks/PagedTiffHandlerRenderCommand - MediaWiki
| PagedTiffHandlerRenderCommand |
Available from version ??? Override or modify the ImageMagick rendering command of TIFF files, just before $cmd is executed
|
| Define function: |
public static function onPagedTiffHandlerRenderCommand( string &$cmd, string $srcPath, string $dstPath, int $page, int $width, int $height, array $scalerParams ) { ... }
|
| Attach hook: |
$wgHooks['PagedTiffHandlerRenderCommand'][] = 'MyExtensionHooks::onPagedTiffHandlerRenderCommand';
|
Called from:
| File(s): PagedTiffHandler / includes/PagedTiffHandler.php Function(s): transformIM |
|
Details
&$cmd - The command that will be executed by wfShellExecWithStderr after this hook has run
$srcPath - Path of the source file that will be converted (and page offset)
$dstPath - Path of the to be created transformed image
$page - Page to be transformed
$width - Width of the page to be transformed
$height - Height of the page to be transformed
$scalerParams - Scaling options (see TransformationalImageHandler::doTransform)