OBJECTIVES OF PROJECT LOSSESLY compress and decompress text file compress and decompress mp3 file compress and decompress image files compress and decompress video file
Gives user facility to compress and decompress the file. Provides user options for choosing different types of compression technique (gzip, Huffman). Can be beneficial in carrying larger file by reducing its size.
Overview Contd. May help in memory management. Help in high speed data transmission.
TOOLS/TECHNOLOGIES USED GZip library function(API Used).
SYSTEM ARCHITECTURE MODE DETECTOR COMPRESSOR DECOMPRESSOR READ FILE BUG DETECTOR DETECTION OF ACEM COMPRESSORS FILE ENCODE/ENCRYP T DECODE FILE WRITE TO DESTINATION
METHODOLOGY HUFFMAN ALGORITHM Character and its Frequency Identification Node With Character and Its corresponding Frequency Sorted Node Enque
Huffman Contd. Dequeue lowest frequencies node Again insert into queue with sum of two lower node frequencies as a parent node Assign ZERO & ONE for Lower child nodes
Huffman Contd. Repeat same until single node in the queue.