Jurnal Informatika Upgris
Vol 12, No 1: Juni 2026

Implementasi Algoritma Huffman Coding pada Sistem Kompresi Citra Digital Berbasis Web

Supriyadi, Rizqy (Unknown)
Saputra, Rendy (Unknown)
Abubakar, Fadil (Unknown)
Hapijar, Rizki Dwi (Unknown)
Dwiantara, Raihan Putra (Unknown)
Supriyanto, Kus (Unknown)
Irfan, Muhamad (Unknown)
Indriyani, Luthfi (Unknown)
Nainggolan, Esron Rikardo (Unknown)



Article Info

Publish Date
30 Jun 2026

Abstract

Abstract— The rapid development of digital technology has increased the need for efficient storage and transmission of digital images. Large image file sizes can affect storage efficiency and data transfer processes, making image compression techniques necessary to reduce file size without significantly decreasing visual quality. This research aims to implement a web-based digital image compression system using a combination of Discrete Cosine Transform (DCT), quantization, Run Length Encoding (RLE), and Huffman Coding methods. The system was developed using the Laravel framework with support from HTML, CSS, and JavaScript, while image processing was performed using the canvas element in the browser. The compression process consists of RGB splitting, 8×8 blocking, DCT transformation, quantization, zigzag scanning, RLE, and Huffman Coding. The system also provides a before-after slider feature and evaluation parameters including Compression Ratio, Mean Squared Error (MSE), and Peak Signal-to-Noise Ratio (PSNR). Based on testing results using several JPG/JPEG images, the system achieved compression ratio values ranging from 79% to 97% with PSNR values between 31 dB and 38 dB. These results indicate that the proposed methods are capable of significantly reducing image file size while maintaining good visual quality.

Copyrights © 2026






Journal Info

Abbrev

JIU

Publisher

Subject

Computer Science & IT

Description

Journal of Informatics UPGRIS published since June 2015 with frequency 2 (two) times a year, ie in June and December. The editors receive scientific writings from lecturers, teachers and educational observers about the results of research, scientific studies and analysis and problem solving closely ...