48 return [
'png',
'image/png' ];
59 $f = fopen( $filename,
'rb' );
74 }
catch ( Exception $e ) {
wfUnpack( $format, $data, $length=false)
Wrapper around php's unpack.
Generic handler for bitmap images.
Handler for Microsoft's bitmap format; getimagesize() doesn't support these files.
getThumbType( $ext, $mime, $params=null)
Render files as PNG.
getSizeAndMetadata( $state, $filename)
Get width and height from the bmp header.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
if(!is_readable( $file)) $ext