MediaWiki master
Jpeg2000Handler.php
Go to the documentation of this file.
1<?php
25
33
40 public function mustRender( $file ) {
41 return true;
42 }
43
52 public function getThumbType( $ext, $mime, $params = null ) {
53 return [ 'png', 'image/png' ];
54 }
55
56}
Generic handler for bitmap images.
Handler for JPEG2000 images.
getThumbType( $ext, $mime, $params=null)
Render files as PNG.
mustRender( $file)
Not all browsers support jpeg2000.
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:93