PERBANDINGAN METODE LZ77, METODE HUFFMAN DAN METODE DEFLATE TERHADAP KOMPRESI DATA TEKS
Abstract
Data compression is a very important process in the world that has been vastly using digital files, such as for texts, images, sounds or videos. Those digital files has a varied size and often taking disk storage spaces. To overcome this problem, many experts created compression algorithms, both for lossy and lossless compression. This research discusses about testing of four lossless compression algorithms that applied for text files, such as LZ77, Static Huffman, LZ77 combined with Static Huffman, and Deflate. Performance comparison of the four algorithms is measured by obtaining the compression ratio. From the test results can be concluded that the Deflate algorithm is the best algorithm due to the use of multiple modes, i.e. uncompressed mode, LZ77 combined with Static Huffman mode, and LZ77 combined with Dynamic Huffman Coding mode. The results also showed that the Deflate algorithm can compress text files and generates an average compression ratio of 38.84%.
Keywords
Full Text:
PDFReferences
Antaneus Feldspar. (2002). An Explanation of the Deflate Algorithm. Diakses pada tanggal 13 Oktober 2013 dari http://zlib.net/feldspar.html
Corneliussen, A., Poulsen, E., Silpakar, P., & Østeraa, T. (2009). ZIP-file encoding & decoding using DEFLATE. Diakses pada tanggal 25 April 2013 dari http://www.cvmt.dk/education/teaching/f09/VGIS8/MultiMediaData/ZIP-09gr840.pdf
Deutsch, L.P. (1996a). Deflate Compressed Data Format Spesification Version 1.3. Networking Working Group - RFC 1951.
Pu, Ida Mengyi. (2006). Fundamental Data Compression. London: Butterworth-Heinemann. Sayood, K. (2003). Lossless Compression Handbook. California: Academic Press.
Salomon, D. (2007). Data Compression The Complete Reference 4th Edition. London:
Springer-V erlag.
Salomon, D. & Motta, G. (2010). Handbook of Data Compression 5th Edition. London:
Springer-V erlag.
DOI: http://dx.doi.org/10.21460/inf.2014.102.327
Refbacks
- There are currently no refbacks.