How to compress a file into an archive. How to compress files in winrar. What is the difference between archivers and each other?

💖 Do you like it? Share the link with your friends

PDF files with lots of graphic elements look nice, but sending them by email is a complete pain due to the large size of such documents. There is no need to wait long for the file to be attached to the letter, because you can reduce its size with virtually no loss of quality. Fortunately, there are plenty of ways to do this - choose whichever you want.

It is worth noting, however, that half of the methods listed below are only possible using Acrobat DC from Adobe installed on your PC. This is a paid product, but the 30-day trial version is completely free. It is available on the official Adobe Systems website.

Using CutePDF or another PDF converter

You can reduce the size of a PDF file using one of the converters, for example, CutePDF. It allows you to convert files from any printable format to PDF, as well as change the document size, increasing or decreasing the quality of images and text. When you install this product, a virtual printer is created on the system, which, instead of printing documents, converts them to PDF format.

1. Download CutePDF from the official website (free) and install. Don’t forget to install the converter along with it, otherwise nothing will happen after clicking the “Print” button.

2. Open the file in a program that supports its format and has the ability to print documents. If it's a PDF file, you can open it in Adobe Reader; and if the file is in doc or docx format, Microsoft Word will do. Click on the “File” menu item and select “Print”.

3. When the printing settings window opens, select CutePDF Writer from the list of printers.

4. Click on the “Printer Properties” button, in the window that opens, click on the “Advanced” button and select the content display quality. To compress the file to the desired size, select a quality lower than the original quality.

5. Click the “Print” button and save the file to the desired location. Only PDF is available for saving, regardless of what format the document was originally in.

Using online tools

If you don’t want to download and install anything, then you can compress the PDF file online. Compressing and converting documents online is fast and convenient.

1. Find a suitable tool on the Internet, such as Smallpdf. Unlike other similar online tools, here the user is not limited in the size and number of documents he can upload.

2. After visiting the website, upload the required document. This can be done by clicking on the label and selecting the file using Explorer, or by dragging the file with the left mouse button and dropping it in the desired area. You can also add a document from Dropbox or Google Drive.

3. When the process is complete, click on the “You can save the file” button and select a location on your PC for it. To upload a compressed document to Google Drive or Dropbox, click the corresponding icon on the right side of the button.

In addition to Smallpdf, there are many other online compressors on the Internet: Compress PDF, Online2pdf, PDFzipper and others. Some allow you to upload files up to 50 MB in size, others - up to 100 MB, others have no restrictions at all, but they perform their work at approximately the same level.

In Adobe Acrobat

You can compress a PDF file in Adobe Acrobat DC, but not in the free Adobe Reader.

1. Having opened the document in Acrobat, click on the “File” menu item, then select “Save as another” and click on the line “Reduced PDF file”.

2. Click in the drop-down list on the version of the program with which your document should be compatible. By choosing the newest version, you can compress the file as much as possible, but there is a risk that it will become inaccessible in previous versions of Acrobat.

3. Click on the “Ok” button, wait for the compression process to complete and save the compressed document to the desired location.

Another PDF compression method in Adobe Acrobat DC

If you have Adobe Acrobat installed and need to compress a document located on your PC, it is much more advisable to use the previous method. The same method can be used when the desired file is uploaded, say, to Google Drive, and you need to download it, simultaneously reducing its size.

1. Log into Google Drive from your account, double-click the PDF file you want to compress, and click the printer icon to open the print screen.

2. In the window that opens, click on the drop-down list and select the Adobe PDF line.

3. By clicking on the “Properties” button, you will open another window where you need to select the “Paper and Print Quality” tab, and then click on the “Advanced” button at the bottom of the window.

4. In the drop-down list (see screenshot below), select the desired document quality, at the bottom of the window click on the “Ok” button, then in the next two windows also click on “Ok”.

5. Save the reduced file on your PC.

Using Adobe Acrobat and Microsoft Word

The essence of this method of compressing PDF documents is that you first convert the file from one format to another, and then convert it back.

1. Open the PDF document through Adobe Acrobat, go to the "File" menu and select "Save As".

2. Click on the “Select another folder” button, then select the file type “Word Document (*.docx)” and save location. Click on "Save".

3. Having opened the document in Microsoft Word, click on the “File” item and select the “Save as Adobe PDF” sub-item.

Using PDF Optimizer

This method of reducing the size of PDF files also requires the use of software from Adobe Systems.

1. Open the document you want to reduce using Adobe Acrobat. Next, go to the “File” menu, click on the “Save as Other” line and select “Optimized PDF File” to launch the PDF document optimizer.

2. In the “PDF Optimization” window that opens, click on the “Estimate space usage” button to understand which elements take up how much space in the file (in bytes and percentage).

3. Having assessed what can be reduced and what does not make sense to compress, close the window by clicking on the “Ok” button and set the necessary compression parameters. To do this, in the left part of the window, left-click on one or another item, and in the right part, change the parameters.

4. You can delete images, change them from color to black and white, compress them, change resolution, change built-in fonts, etc. Having “played enough” with the parameters, click on the “Ok” button and save the optimized file to the desired directory.

A way to compress PDF files on Mac OS X

PDF documents created by the Mac OS X operating system are noticeably larger in size than files with the same content created using Adobe Acrobat. If you are a Mac OS X user and want to reduce the size of the PDF file you create, do the following:

  1. Open the TextEdit application, then click on “File” in the program menu, and then select “Print”.
  2. In the lower left corner of the window that opens, you will see a button called PDF. Click on it, and then on the line “Compress PDF” in the drop-down list. The result is a more compact PDF file.

Archiving a file

To ensure that the document takes up less space on your computer, you can archive it using one of the archivers, for example, 7Zip or WinRAR. Both programs are quite popular, but the first is distributed free of charge, and you will have to pay to use the second beyond the limited trial period.

To compress a document using the 7Zip archiver, right-click on the file, then with the left mouse button, first click on the 7Zip line, and then on the inscription “Add to “file_name”. Then the archive will be created automatically.

If you want to set certain parameters before archiving, select the “Add to archive” line. Then a window like the one in the screenshot below will open.

By using an archiver, you can significantly reduce the size of a document, as well as create an archive consisting of several files, compressed and combined with each other. This will make it much easier to store and transmit them via email. Just before sending an archived PDF file, make sure that the recipient also has an archiver installed, otherwise he will not be able to open the archive.

Note: Adobe Acrobat and Adobe Reader are not the same thing. Reader is free, but its feature set for editing PDF files is extremely limited, so you can only reduce the size of documents in Acrobat. However, Adobe Acrobat is a paid program. And if you don’t have it and don’t want to buy it, use other options for compressing PDF documents that are not associated with it.

Hello Habr!
This article is devoted to how to properly and maximally compress files into ZIP archives. I decided to write this article for the reason that many applications package their formats in ZIP. In this article, we will look at ZIP compression methods, ZIP compression applications, and how compression can be improved.

ZIP compression method

To begin with, I propose to understand that ZIP supports different compression methods (Copy, Deflate, Deflate64, BZip2, LZMA, PPMd), but we will consider only one compression method - Deflate, for the reason that this is the method that most applications use, which package their formats in ZIP. Here is a small list of file formats that are actually ZIP archives - open-file.ru (enter the ASCII header descriptor - PK in the search). Let me make a reservation right away: this is only a small list of files.

Deflate compression method

Today there are several libraries based on the Deflate compression method:
Deflate Library Operation speed Compression ratio Applications
Zlib High Low
7-zip Average Average 7-zip
Kzip Low High kzip
So before choosing an archiver for ZIP, we need to understand what result we need and how much time we are willing to spend to get it. Deflate is characterized by the higher the compression ratio, the more time it will take.

ZIP archivers

In this section, we will only consider those applications that are free to use.
7-zip algorithm
Here we will talk about two programs that implement the 7-zip algorithm: 7-zip and advzip.
When creating a zip archive using 7-zip, I use the following parameters

R -mm=Deflate -y -tzip -mpass=15 -mfb=258 -mx9
The peculiarity of advzip is that it already works with ready-made zip archives, i.e. you simply specify the path to the archive, and it itself tries to compress it. It can be convenient when you already have a ready-made archive, and you don’t need to unpack and archive again.

kzip algorithm
The kzip algorithm was implemented in the kzip application, the application is extremely slow, but almost always gives the best result. It has settings (/s, /n, /b) that can improve/worse the ZIP compression ratio. Here I wanted to give some recommendations on how to get the best compression ratio (recommendations are based on personal experience):
  • If you are archiving files and there are ZIP archives, I recommend decompressing these archives (for convenience, you can use advzip with the /z0 parameter). This is because the Deflate method does not support continuous archives, i.e. It turns out that when the Deflate method tries to compress a decompressed archive, the decompressed archive in this case appears as one whole file and its contents are compressed as a continuous archive.
  • If you want to get the maximum compression effect, you can use the zipmix application. Let's say you created two zip archives with the same content using kzip, but with different settings, and as a result you received archives of different sizes. But this does not mean that all the files that you compressed in the first archive are individually smaller in compressed form than in the second archive. For these purposes you need zipmix; it creates a third archive from two archives, with a smaller size, because it compares each file individually and selects the one with the smaller size. zipmix works not only with kzip archives.

Practice

And so I decided to show how it all works. For example, I took the game for iPad - Angry Birds HD version 2.0.0. The original game size is 13,547,363 bytes.

As you can see, zipmix can't improve the compression ratio much. Personally, when I need to get the maximum, I simply combine all three (kzip + advzip + 7-zip) results into one. This is much better than trying to sort through the parameters in kzip.

Hi all! Not so long ago, when hard drives were small, and the Internet was like a “turtle,” no one asked the question of how to compress a file - everyone already knew everything, because floppy disks were one and a half megabytes each, and flash drives in Windows 98 required installation drivers! (and they cost as much as a cast iron bridge)

However, the need to compress files has not gone away, it just does not always have an obvious benefit in file size. There is a practical application of compression in the use of email, because not everyone has high-speed Internet, and there is no point in sending hundreds of megabytes of information over the Internet if they can be reduced, for example, to several dozen!

How to compress a file with the 7 Zip archiver?

Surely many people have a paid and broken WinRAR archiver, but we will use a free alternative in the form of 7 Zip, information about installation and configuration of which you can read. After you installed this archiver, the line was added to the context menu (this is when you right-click on files) 7-Zip, this is where the compression options come in.

You can simply click "Add to"<ИМЯ ФАЙЛА>.zip" and get a zip-archived file with default compression settings, but I want to show the compression settings. We need to select “Add to archive...”

In the Archive line we can come up with a name for our archive; by default it will be the same as in the original file. A very important parameter: “Archive format”. I recommend that you use ZIP - this format is a hundred years old and you can work with it without installing third-party software, but its compression is not always satisfactory. Next, you can set a password for our archive (if there is such a need)

Our archive has been created, as you can see - the difference is not particularly visible, but imagine that a 1C database of 800 megabytes is easily compressed into 150, and this is already significant even in today's realities.

Let's try another common compression format - 7Z. If you choose maximum compression, you will have to be patient - everything happens much slower if we compressed it in Zip.

However, looking at the screen below you can see a significant difference between zip and 7z. The 7z format compresses much better, but requires more resources and an installed archiver.

Of course, this is not the only way to compress a file; there are many more options. I just want to add on my own behalf - do not try to compress videos or pictures, the archives we are used to will not give practically any gain in file size, but it will take a lot of time. Well, that’s all, now you know how to compress a file with the 7 Zip archiver :)

In contact with

class="eliadunit">

Often in everyday life there is a need to compress files for the convenience of storing them, recording them on media and quickly sharing them via social networks, e-mail , file hosting services and other services on the global Internet. However, not all files are equally compressible. Text format files (txt, doc) are best compressed. Archive files (rar, zip, 7z, lha, tar, gz, jar, etc.), video (avi, mpeg, wmv, flv), music (mp3, wma, aac) and images (jpeg, jpg, gif , png) are slightly reduced in size because they are initially compressed files. This also includes Microsoft Office files with docx, xlsx extensions.

Specialized archiver programs, the most famous of which are WinRAR, 7zip and WinZip, compress (reduce the size) of files. We’ll talk about how to compress a file as much as possible in the WinRAR archiver.

To start packing files into an archive, your computer must have WinRAR archiver installed. To start the compression (archiving) operation, you need to select the files that you are going to compress. Then, by right-clicking on the selected area, call up the context menu, in which we select the line “Add to archive...”.

In the “Archive name and parameters” working window that appears, on the “General” tab, set the name of the future archive, and also select the format and compression method. For formats, we recommend choosing the publicly available ZIP format, since some operating systems have difficulty reading the RAR format. In the “Compression method” drop-down menu, select “Maximum” accordingly. Click OK.

class="eliadunit">

To set your own compression settings for the RAR format, go to the “Advanced” tab and click on the “Compression Settings” button in the “NTFS Settings” group. In the new dialog box, you can select specific parameters for text, audio and full-color graphics compression, select the main compression algorithm, etc.

For adding a new file to an existing archive with maximum compression, you need to open this archive and select the line “Add file to archive” in the “Commands” menu; Even easier, you can drag the desired file into the program window. This will automatically open a new Archive Name and Options dialog box. All you have to do is set the compression method to “Maximum” for the new file and click on the OK button.

I think reading the article did you good. Now questions about maximum compression in WinRar are a thing of the past, and if they arise or are forgotten, then our website will help in restoring computer knowledge!

class="eliadunit">

Often in everyday life there is a need to compress files for the convenience of storing them, recording them on media and quickly sharing them via social networks, e-mail , file hosting services and other services on the global Internet. However, not all files are equally compressible. Text format files (txt, doc) are best compressed. Archive files (rar, zip, 7z, lha, tar, gz, jar, etc.), video (avi, mpeg, wmv, flv), music (mp3, wma, aac) and images (jpeg, jpg, gif , png) are slightly reduced in size because they are initially compressed files. This also includes Microsoft Office files with docx, xlsx extensions.

Specialized archiver programs, the most famous of which are WinRAR, 7zip and WinZip, compress (reduce the size) of files. We’ll talk about how to compress a file as much as possible in the WinRAR archiver.

To start packing files into an archive, your computer must have WinRAR archiver installed. To start the compression (archiving) operation, you need to select the files that you are going to compress. Then, by right-clicking on the selected area, call up the context menu, in which we select the line “Add to archive...”.

In the “Archive name and parameters” working window that appears, on the “General” tab, set the name of the future archive, and also select the format and compression method. For formats, we recommend choosing the publicly available ZIP format, since some operating systems have difficulty reading the RAR format. In the “Compression method” drop-down menu, select “Maximum” accordingly. Click OK.

class="eliadunit">

To set your own compression settings for the RAR format, go to the “Advanced” tab and click on the “Compression Settings” button in the “NTFS Settings” group. In the new dialog box, you can select specific parameters for text, audio and full-color graphics compression, select the main compression algorithm, etc.

For adding a new file to an existing archive with maximum compression, you need to open this archive and select the line “Add file to archive” in the “Commands” menu; Even easier, you can drag the desired file into the program window. This will automatically open a new Archive Name and Options dialog box. All you have to do is set the compression method to “Maximum” for the new file and click on the OK button.

I think reading the article did you good. Now questions about maximum compression in WinRar are a thing of the past, and if they arise or are forgotten, then our website will help in restoring computer knowledge!



tell friends