BMP Compression using RLE8

Compress images using RLE.

You are now following this Submission

This program creates compressed BMP file using RLE8.
Notes :
• the header is BITMAPINFOHEADER (40 bytes).
• it works on 8 bits per pixel images (with or without colormap).
• it works on 24 bits per pixel images by turning them to indexed images.
• the colormap size must be 256 x 3.

Cite As

Aymen Moukdad (2026). BMP Compression using RLE8 (https://uk.mathworks.com/matlabcentral/fileexchange/56454-bmp-compression-using-rle8), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: RLE de/encoding

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Fixed some comments.

1.0.0.0