MediaWiki  REL1_19
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 15 of file BMP.php.


Member Function Documentation

BmpHandler::getImageSize ( image,
filename 
)

Get width and height from the bmp header.

Parameters:
$image
$filename
Returns:
array

Reimplemented from ImageHandler.

Definition at line 44 of file BMP.php.

References $f, and wfUnpack().

Here is the call graph for this function:

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

Render files as PNG.

Parameters:
$text
$mime
$params
Returns:
array

Reimplemented from MediaHandler.

Definition at line 33 of file BMP.php.

Parameters:
$file
Returns:
bool

Reimplemented from BitmapHandler.

Definition at line 21 of file BMP.php.


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