MediaWiki  REL1_22
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:
$image
$filename
Returns:
array

Reimplemented from ImageHandler.

Definition at line 59 of file BMP.php.

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

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

Render files as PNG.

Parameters:
$text
$mime
$params
Returns:
array

Reimplemented from MediaHandler.

Definition at line 48 of file BMP.php.

References array().

Parameters:
$file
Returns:
bool

Reimplemented from BitmapHandler.

Definition at line 36 of file BMP.php.


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