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 (2024). BMP Compression using RLE8 (https://www.mathworks.com/matlabcentral/fileexchange/56454-bmp-compression-using-rle8), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Denoising and Compression in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: RLE de/encoding
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.