Evaluasi Kompresi Lossless Huffman Statis pada Sampel Teks dan Citra Komik
Abstract
Webtoon is a digital comic platform that presents stories as images and text on Android devices. Large files can increase storage requirements and slow access to content. This study aims to apply Huffman coding to reduce the size of text and image data obtained from comics on the Webtoon application. The method consists of counting symbol frequencies, creating a priority queue, constructing a Huffman tree, assigning binary codes, and replacing the original symbols with the resulting codes. Frequently occurring symbols receive shorter codes, whereas less frequent symbols receive longer codes. The algorithm was implemented in the Python programming language. Evaluation was performed by comparing data sizes before and after compression and calculating the percentage reduction. Text data decreased from 616 bits to 189 bits, while image data decreased from 512 bits to 380 bits. The manuscript reports compression percentages of 69.4% for text and 25.7% for images. These findings indicate that Huffman coding can reduce storage requirements for the data examined. The generated Huffman tree provides the basis for reconstructing the original data during decompression. Applying this method may support more efficient storage and transmission of digital comic content. Further research is recommended to evaluate combinations of Huffman coding with other compression methods and test performance across different user devices, particularly regarding image quality and application response time.
References
H. Lubis, D. B. Srisulistiowati, and A. I. Ramdhani, “Huffman coding pada image compression,” Informatics, Science, and Technologies Journal (Jurnal GERBANG), vol. 12, no. 1, pp. 16–25, 2022.
A. A. S. Darmawanti, “Aplikasi Webtoon sebagai media pembelajaran membaca,” Jurnal Pendidikan dan Pembelajaran Bahasa Indonesia, vol. 11, no. 2, pp. 201–209, 2022, doi: 10.23887/jurnal_bahasa.v11i2.773.
D. Suhada, S. G. Fauziyyah, M. D. Kurnia, and C. Hasanudin, “Pemanfaatan aplikasi Webtoon untuk meningkatkan minat baca bagi peserta didik,” Jubah Raja: Jurnal Bahasa, Sastra, dan Pengajaran, vol. 1, no. 2, pp. 9–16, 2022, doi: 10.30734/jr.v1i2.2870.
R. S. Hanum and F. Kurniawan, “Pemanfaatan Webtoon sebagai media adaptasi dari komik cetak,” CoverAge: Journal of Strategic Communication, vol. 14, no. 1, pp. 25–36, 2023, doi: 10.35814/coverage.v14i1.5327.
A. F. Lestari and Irwansyah, “LINE Webtoon sebagai industri komik digital,” SOURCE: Jurnal Ilmu Komunikasi, vol. 6, no. 2, pp. 134–148, 2020, doi: 10.35308/source.v6i2.1609.
J. Nam and Y. Jung, “Exploring fans’ participation in digital media: Transcreation of webtoons,” Telecommunications Policy, vol. 46, no. 10, Art. no. 102407, 2022, doi: 10.1016/j.telpol.2022.102407.
H. Cho, “The platformization of culture: Webtoon platforms and media ecology in Korea and beyond,” The Journal of Asian Studies, vol. 80, no. 1, pp. 73–93, 2021, doi: 10.1017/S0021911820002405.
D. Asdini and D. P. Utomo, “Analisis perbandingan kinerja algoritma Huffman dan algoritma Levenstein dalam kompresi file dokumen format .RTF,” KOMIK (Konferensi Nasional Teknologi Informasi dan Komputer), vol. 6, no. 1, pp. 87–99, 2022, doi: 10.30865/komik.v6i1.5739.
C. A. N. Ginting, “Penerapan algoritma Sequitur pada kompresi file teks,” KOMIK (Konferensi Nasional Teknologi Informasi dan Komputer), vol. 6, no. 1, pp. 333–339, 2022, doi: 10.30865/komik.v6i1.5723.
R. Syahputra, “Implementasi algoritma Adaptive Huffman Code dalam kompresi file teks terenkripsi algoritma Loki97,” Journal of Computing and Informatics Research, vol. 1, no. 1, pp. 23–28, 2021. [Online]. Available: https://journal.fkpt.org/index.php/comforch/article/view/114
D. Salomon, A Concise Introduction to Data Compression. London, U.K.: Springer, 2008, doi: 10.1007/978-1-84800-072-8.
R. C. Gonzalez and R. E. Woods, Digital Image Processing, Global Edition, 4th ed. Pearson, 2017, ISBN: 978-1-292-22304-9.
L. Hermawan and Yunitasari, “Kompresi data citra PNG menggunakan algoritma Huffman coding berbasis JAVA,” Jurnal Teknologi Informasi, vol. 7, no. 2, pp. 239–244, 2023, doi: 10.36294/jurti.v7i2.3767.
K. Sayood, Introduction to Data Compression, 4th ed. Waltham, MA, USA: Morgan Kaufmann, 2012.
M. L. Imani, R. R. Muhima, and S. Agustini, “Penerapan metode Huffman dalam kompresi data,” in Prosiding Seminar Nasional Sains dan Teknologi Terapan IX, 2021, pp. 457–462. [Online]. Available: https://ejurnal.itats.ac.id/sntekpan/article/view/2253
D. A. Huffman, “A method for the construction of minimum-redundancy codes,” Proceedings of the IRE, vol. 40, no. 9, pp. 1098–1101, 1952, doi: 10.1109/JRPROC.1952.273898.
R. Jannah, I. Y. Putra, H. Fikri, and S. Bilad, “Penggunaan algoritma Huffman dalam mengkompres data (file text),” Jurnal Pendidikan Teknologi Informasi dan Komputer, vol. 2, no. 1, pp. 33–38, 2023. [Online]. Available: https://journal.grahamitra.id/index.php/petik/article/view/72
M. L. Bukhori and E. E. Prasetiyo, “Sistem kompresi data pada muatan roket menggunakan kode Huffman,” Teknika STTKD: Jurnal Teknik, Elektronik, Engine, vol. 7, no. 2, pp. 270–280, 2021.
K. Y. Dewi and H. Nurwasito, “Implementasi algoritma Huffman untuk kompresi gambar pada jaringan 6LoWPAN,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 4, pp. 2008–2017, 2022. [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/10968
L. Sodikin, T. F. Putri, and T. Hidayat, “Analisa kompresi file teks menggunakan Algortima Huffman,” Jurnal ICTEE, vol. 3, no. 1, pp. 10–19, 2022, doi: 10.33365/jictee.v3i1.1271.
Jamaluddin, “Analisis perbandingan kompresi data dengan fixed-length code, variable-length code dan algoritma Huffman,” Majalah Ilmiah METHODA, vol. 3, no. 2, pp. 41–47, 2013.
A. Pahdi, “Algoritma Huffman dalam pemampatan dan enkripsi data,” Indonesian Journal on Networking and Security, vol. 6, no. 3, 2017.
D. Cahayati, A. M. H. Pardede, and H. Khair, “Implementasi algoritma Elias Gamma kompresi pada file teks,” ALGORITMA: Jurnal Ilmu Komputer dan Informatika, vol. 6, no. 1, pp. 159–166, 2022, doi: 10.30829/algoritma.v6i1.11867.
W. Y. Sulistyo, M. Rosidin, M. F. Gustafi, M. A. Aziz, and A. I. Putra, “Analisis perbandingan kualitas kompresi citra digital pada media sosial,” Jurnal Riset Teknologi Informasi dan Komputer (JURISTIK), vol. 2, no. 1, pp. 1–6, 2022, doi: 10.53863/juristik.v2i1.473.
Copyright (c) 2026 Wira Adiguna Sutawa, Nur Hamzah, Ridho Sholehurrohman

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.





