The document describes a file compression application. It allows large files to be compressed to reduce file size and speed up transfers. It uses the GZip and Deflate compression standards which save space and time by compressing data. The application provides functions for compressing files into a zip archive and decompressing files from the archive. It produces compressed files with smaller sizes than the originals, allowing more efficient storage, emailing, and downloading of files.
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
G zip compresser ppt
2. 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
3. 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.
4. GZipStream / DeflateStream
This 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.
5. GZipStream / DeflateStream
The 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.
6. GZipStream / DeflateStream
The 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).
7. GZipStream / DeflateStream
Like 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.
8. WORKING PROCESS OF THE
PROJECT
The 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” button
Simply click a button “Compress” to Create a new Zip
file in your computer
After this a compress file is created with “.gkg
“extension
9. WORKING PROCESS OF THE
PROJECT
Decompression
To decompress a zip file, open G-zip setup
Search the file from computer for compressing by
clicking the “Browse” button
Simply click a button “Decompress” to Create a new
Zip file in your computer
After this the file is decompress.