Manual:Hooks/BitmapHandlerTransform
From MediaWiki.org
| BitmapHandlerTransform | |
|---|---|
| Available from version 1.18.0 (r84278) Before a file is transformed, gives extension the possibility to transform it themselves. |
|
Define function: |
public static function onBitmapHandlerTransform( $handler, $image, &$scalerParams, &$mto ) { ... }
|
Attach hook: |
$wgHooks['BitmapHandlerTransform'][] = 'MyExtensionHooks::onBitmapHandlerTransform'; |
| Called from: | Bitmap.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:BitmapHandlerTransform extensions.
[edit] Details
- $handler: BitmapHandler
- $image: File
- &$scalerParams: Array with scaler parameters
- &$mto: null, set to a MediaTransformOutput
| Language: | English • Bahasa Indonesia • 日本語 |
|---|