Data compression is needed so that the need for storage media and data transfer time becomes more efficient. This study compressed image data using the Run-Length Encoding (RLE) method. The test data is the original image (gray scale) and the image results of improving image quality (image enhancement) using contrast modification. Modification of contrast using contrast stretching methods. Through experiments wanting to know the extent to which the RLE method works less effectively for images with complex color intensity. The image of contrast modification results has a more complex color intensity or more varied pixel value. Obtained the number of pairs (p, q) RLE in the image of contrast modification results is less than the original image, with the pair ratio (p, q) RLE ranges from 0.64% to 1.59%. Although this image has a more varied pixel value than its original image, it can produce a compression ratio of the number of pairs (p, q) RLE.
                        
                        
                        
                        
                            
                                Copyrights © 2022