Save the image as bmp.
where the image is saved
compress the bitmap using RLE when saving
See Implementation
Save the image as bmp.