MediaWiki master
Jpeg2000Handler.php
Go to the documentation of this file.
1<?php
31
38 public function mustRender( $file ) {
39 return true;
40 }
41
50 public function getThumbType( $ext, $mime, $params = null ) {
51 return [ 'png', 'image/png' ];
52 }
53
54}
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.