An Efficient RLE Algorithm for Compressing Image Based upon Tolerance Value