Compress or uncompress bitmap using Interleaved Run-Length Encoding