g zip compresser ppt

15

Upload: gaurav-kumar

Post on 26-Jun-2015

1.054 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: G zip compresser ppt
Page 2: G zip compresser ppt

Purpose

The application allows large files to be compressed for either sending via e-mail or transferring to another source (e.g. from desktop computer to laptop).

software which is used to compress data and therefore save time and space and make e-mail attachments faster.

Compress files make it easy to keep related files together and make transporting, e-mailing, downloading and storing data and software faster and more efficient

Page 3: G zip compresser ppt

The basic objective of the project Compress files compress data and therefore save

time and space and make downloading software and transferring e-mail attachments faster. Typical uses for compress files include:

Distributing files on the Internet: the file transfer is quicker because the file is compressed.

Sending a group of related files to an associate: When you distribute a collection of files as a single compress file, you benefit from the file grouping as well as compression.

Saving disk space: If you have large files that are important but seldom used, such as large data files, simply compress the files into a compress file and then decompress (or "extract") them only when needed.

Page 4: G zip compresser ppt

GZipStream / DeflateStreamThis gzip stream class represents the gzip data

format, which uses an industry-standard algorithm for lossless file compression and decompression. The format includes a cyclic redundancy check value for detecting data corruption. The gzip data format uses the same algorithm as the DeflateStream class, but can be extended to use other compression formats. The format can be readily implemented in a manner not covered by patents.

Starting with the .NET Framework 4.5, the DeflateStream class uses the zlib library for compression. As a result, it provides a better compression algorithm and, in most cases, a smaller compressed file than it provides in earlier versions of the .NET Framework.

Page 5: G zip compresser ppt

GZipStream / DeflateStreamThe compression functionality in

DeflateStream and GZipStream is exposed as a stream. Data is read on a byte-by-byte basis, so it is not possible to perform multiple passes to determine the best method for compressing entire files or large blocks of data.

The DeflateStream and GZipStream classes are best used on uncompressed sources of data. If the source data is already compressed, using these classes may actually increase the size of the stream.

Page 6: G zip compresser ppt

GZipStream / DeflateStreamThe DeflateStream class is a direct

descendant of the Stream class; it provides the methods that the Stream class defines. The DeflateStream class implements the Deflate algorithm as it reads and writes data. This is an industry-standard algorithm that performs lossless file compression and decompression. The DeflateStream class cannot process a stream that is larger than 4 gigabytes (GB). 

Page 7: G zip compresser ppt

GZipStream / DeflateStreamLike the DeflateStream class, the GZipStream class

inherits from the Stream class and implements the Deflate algorithm. The difference is that the format of the data is compatible with the GZIP specification; it includes additional header information that enables tools such as GZip, WinZip, and WinRAR to examine and decompress a file that is written by using a GZipStream object. Similarly, you can use the GZipStream class to read compressed files that are created by using these tools. The GZIP format adds a small overhead, so data that is compressed by using a GZipStream object is a little larger than that compressed by using a DeflateStream object.  

Page 8: G zip compresser ppt

WORKING PROCESS OF THE PROJECTThe proposed system contains the following

main processes: -

Compression To create a new Zip file, open G-zip setup. Search the file from computer for

compressing by clicking the “Browse” buttonSimply click a button “Compress” to Create a

new Zip file in your computerAfter this a compress file is created with

“.gkg “extension

Page 9: G zip compresser ppt

WORKING PROCESS OF THE PROJECTDecompressionTo decompress a zip file, open G-zip setupSearch the file from computer for

compressing by clicking the “Browse” buttonSimply click a button “Decompress” to Create

a new Zip file in your computerAfter this the file is decompress.

Page 10: G zip compresser ppt

Working Process

Page 11: G zip compresser ppt

Application design look

Page 12: G zip compresser ppt
Page 13: G zip compresser ppt
Page 14: G zip compresser ppt

File name File Type

Size before compression

Size after compression

Compressionpercentage

01 - Maroon 5 -

OneMore

PPT Sandeep Tayal

Sum 41 -Pieces -

YouTube

VHDL.Programming.

DouglasPerry

Data-Security

Gaurav final report

.mp3

.ppt

.mp4

.pdf

.txt

.docx

8,674 kb4,823 kb

13,819 kb

2,357 kb

3.65 mb

5.59 mb

8,317 kb4,789 kb

13,657 kb

1,819 kb

0.657 mb

5.55 mb

4.1%0.7%

1.1%22.32%

82%

0.7%

Result

Page 15: G zip compresser ppt