RLE BMPs

Is there a reason SDL doesn’t support RLE Compressed BMPs? If not I’m
going to add support for loading RLE Compressed BMPs to SDL_LoadBMP.

Stuart

Is there a reason SDL doesn’t support RLE Compressed BMPs? If not I’m
going to add support for loading RLE Compressed BMPs to SDL_LoadBMP.

No reason, other than RLE compressed BMP files are rare, and there
are better compression methods out there in other file formats.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Is there a reason SDL doesn’t support RLE Compressed BMPs? If not I’m
going to add support for loading RLE Compressed BMPs to SDL_LoadBMP.

Stuart

Hardly anyone creates RLE compressed bitmaps anyway! M$ defined it in the
BMP spec but never bothered to implement it, it seems. Windows
paintbrush, for instance, doesn’t bother to compress its bitmaps. Tons of
programs can’t grok compressed bitmaps too. Paintbrush can’t read them,
and Windows 95 will not accept compressed bitmaps for your wallpaper. I
don’t think even Photoshop 4 can write compressed BMP files (there is no
option for RLE compression when saving to that format). The only programs
I know of that create and read RLE BMP’s correctly are The Gimp and
ImageMagick. Both running under Linux (hah!).On Tue, 24 Aug 1999, Stuart Anderson wrote:


| Rafael R. Sevilla @Rafael_R_Sevilla_94 |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman

Photoshop 4 and 5 does support RLE Bmp’s, but for the reasons Rafael
mentioned their pretty much useless.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Rafael R. Sevilla 94-22131 wrote:> On Tue, 24 Aug 1999, Stuart Anderson wrote:

Is there a reason SDL doesn’t support RLE Compressed BMPs? If not I’m
going to add support for loading RLE Compressed BMPs to SDL_LoadBMP.

Stuart

Hardly anyone creates RLE compressed bitmaps anyway! M$ defined it in the
BMP spec but never bothered to implement it, it seems. Windows
paintbrush, for instance, doesn’t bother to compress its bitmaps. Tons of
programs can’t grok compressed bitmaps too. Paintbrush can’t read them,
and Windows 95 will not accept compressed bitmaps for your wallpaper. I
don’t think even Photoshop 4 can write compressed BMP files (there is no
option for RLE compression when saving to that format). The only programs
I know of that create and read RLE BMP’s correctly are The Gimp and
ImageMagick. Both running under Linux (hah!).


| Rafael R. Sevilla rsevilla at eee.upd.edu.ph |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman