BMP Compression using RLE8

version (2.86 KB) by Aymen Moukdad
Compress images using RLE.


Updated 9 Apr 2016

View License

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 (2022). BMP Compression using RLE8 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired by: RLE de/encoding

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!