Support for RLE compressed images

closes #3