140 likes | 251 Views
Prepared By: Roshan Pudasaini (BCT/2008/531) Subash Shrestha (BCT/2008/) Sunita Maharjan (BCT/2008) Tek Narayan Chalise (BCT/2008). A PRESENTATION ON FILE COMPRESSION AND DECOMPRESSION. OBJECTIVES OF PROJECT. LOSSESLY compress and decompress text file
E N D
Prepared By: RoshanPudasaini(BCT/2008/531) SubashShrestha (BCT/2008/) SunitaMaharjan(BCT/2008) TekNarayanChalise(BCT/2008) APRESENTATION ONFILE COMPRESSION AND DECOMPRESSION
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 of the project
Overview Contd. • May help in memory management. • Help in high speed data transmission.
TOOLS/TECHNOLOGIES USED • GZiplibrary function(API Used).
SYSTEM ARCHITECTURE READ FILE MODE DETECTOR DECOMPRESSOR COMPRESSOR BUG DETECTOR DETECTION OF ACEM COMPRESSOR’S FILE ENCODE/ENCRYPT 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.
GZIP COMPRESSION • Lempel-Ziv + Huffman Algorithm A lossless Compression Technique
CHALLENGES FACED • Research & Implementation. • Off course in CODING. • Preserving Original file name.
CONCLUSION AND FUTURE ENHANCEMENTS • Simple Design • Data security via password Protection • Suggest appropriate Method for corresponding file format • Performance testing
REFERENCES • Lossless Compression Algorithms (Entropy Encoding) • http://www.cs.cf.ac.uk/Dave/Multimedia/node2 • Huffman.java http://algs4.cs.princeton.edu/55compression/Huffman.java.html • Huffman Codinghttp://www.cs.cf.ac.uk/Dave/Multimedia/node210.html#SECTION04243000000000000000 • The gzip home pagehttp://www.gzip.org/#faq11 • Archiving and compressinghttp://floppix.ccai.com/targzip.html • Huffmanalgorithmimplementation Source Code | Java ProgrammingLanguage http://megasnippets.com/source-codes/java/huffman_algorithm_implementation • Lempel-Ziv-Welch (LZW) Algorithmhttp://www.cs.cf.ac.uk/Dave/Multimedia/node214.html#SECTION04247000000000000000 • gzip - Wikipedia, the free encyclopediahttp://en.wikipedia.org/wiki/Gzip • DEFLATE - Wikipedia, the free encyclopediahttp://en.wikipedia.org/wiki/DEFLATE • Huffman coding - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Huffman_coding
THANK YOU FOR LISTENING