MediaWiki  REL1_24
BmpHandler Class Reference

Handler for Microsoft's bitmap format; getimagesize() doesn't support these files. More...

Inheritance diagram for BmpHandler:
Collaboration diagram for BmpHandler:

List of all members.

Public Member Functions

 getImageSize ($image, $filename)
 Get width and height from the bmp header.
 getThumbType ($text, $mime, $params=null)
 Render files as PNG.
 mustRender ($file)

Detailed Description

Handler for Microsoft's bitmap format; getimagesize() doesn't support these files.

Definition at line 30 of file BMP.php.


Member Function Documentation

BmpHandler::getImageSize ( image,
filename 
)

Get width and height from the bmp header.

Parameters:
File$image
string$filename
Returns:
array

Reimplemented from ImageHandler.

Definition at line 58 of file BMP.php.

References $e, $f, array(), and wfUnpack().

BmpHandler::getThumbType ( text,
mime,
params = null 
)

Render files as PNG.

Parameters:
string$text
string$mime
array$params
Returns:
array

Reimplemented from MediaHandler.

Definition at line 47 of file BMP.php.

References array().

Parameters:
File$file
Returns:
bool

Reimplemented from TransformationalImageHandler.

Definition at line 35 of file BMP.php.


The documentation for this class was generated from the following file: