Page MenuHomePhabricator

BmpHandler doesn't generate <img> tags for .bmp images
Closed, ResolvedPublic

Description

Author: heron

Description:
In order to get .bmp images to work in my wiki, I had to add this line to LocalSettings.php:

$wgMediaHandlers['image/x-bmp'] = 'BitmapHandler';

I'm told that the default, BmpHandler, should work correctly, but doesn't... so this must be a bug.


Version: 1.12.x
Severity: minor

Details

Reference
bz15144

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:19 PM
bzimport set Reference to bz15144.
bzimport added a subscriber: Unknown Object (MLST).

BmpHandler in its current state (implementing only the size check) looks unnecessary; getimagesize() does support BMP afaik...

Auto conversion to PNG might be nice. :)

Marking as a dupe of #13265.

BMP are rendered as PNG with r40095

  • This bug has been marked as a duplicate of bug 13265 ***