the use of RGB images is a necessity in various fields. However, its use is constrained by the large file capacity, but it is possible to compress the images that are owned as needed. With the quantization method, the R matrix, G matrix and B matrix will be reduced in level, so that the number of bits used to represent the image is reduced. Because the number of bits is reduced, the file size becomes smaller. The quantization method is included in the Lossy Compression category, so that the compressed image cannot be decompressed again because there is missing information. Image compression is an image compression process that aims to reduce duplication of data in the image so that less memory is used to represent the image than the original image representation. There are factors why the image compression process is very appropriate so that there is no significant correlation between pixels and neighboring pixels
 L. Theis, W. Shi, A. Cunningham, and F. Huszár, “Lossy image compression with compressive autoencoders,” arXiv. 2017.
 R. Krasmala, A. Budimansyah, and U. T. Lenggana, “Kompresi Citra Dengan Menggabungkan Metode Discrete Cosine Transform (DCT) dan Algoritma Huffman,” J. Online Inform., 2017.
 C. T. Utari, “Implementasi Algoritma Run Length Encoding Untuk Perancangan Aplikasi Kompresi Dan Dekompresi File Citra,” J. TIMES, 2016.
 D. Ardiyanto and B. H. Purwoto, “Kompresi Citra dengan menggunakan Metode Delta Modulation,” Emit. J. Tek. Elektro, 2014.
 H. Malepati, “Lossless Data Compression,” in Digital Media Processing, 2010.
 Z. Cheng, H. Sun, M. Takeuchi, and J. Katto, “Learned Lossless Image Compression with A Hyperprior and Discretized Gaussian Mixture Likelihoods,” in ICASSP, IEEE International Conference on Acoustics, Speech and Signal Processing - Proceedings, 2020.
 G. Mandyam, N. Ahmed, and N. Magotra, “Lossless Image Compression Using the Discrete Cosine Transform,” J. Vis. Commun. Image Represent., 1997.
 Torowati and B. S. Galuh, “Penentuan Nilai Limit Deteksi Dan Kuantisasi,” J. Batan, 2014.
 “Aplikasi Kompresi Citra Dengan Matlab R2015a Menggunakan Metode Discrete Cosine Transform (DCT) dan Kuantisasi,” J. Ilm. Komputasi, 2018.