PDF Compressor

Compress PDF and replace font in PDF by Windows system fonts

   It is known that some PDF can not be viewed normally for some reason they won't swap for other fonts. When you open the PDF you may get the message "Cannot find or create the font xxxxx. Some characters may not display or print correctly."  When you meet this kind of PDF file, you can try to replace font in it by the Window system fonts. In this article, I will show you one method of replacing fonts in PDF and compress it.

Step 1. Download VeryDOC PDF Compressor

  • This software is command line version, when downloading finishes, there will be an zip file. Please extract it to some folder then you can call the executable file in MS Dos Windows.
  • And if you need to know more about this software, please visit homepage of VeryDOC PDF Compressor.

Step 2. Compress PDF and replace fonts in it by Windows system fonts.

  • When you run the conversion, please refer to the usage and examples.
  • Usage:        pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When compress PDF and replace fonts in PDF, please refer to the following command line templates.
    pdfcompressor.exe -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
    By this command line, you can embed all the fonts  and subset all the fonts in PDF for compression.
    pdfcompressor.exe -winfont -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
    By this command line, we can replace fonts in PDF by the Windows system fonts and subset fonts in PDF.
    pdfcompressor.exe -subsetfonts C:\in.pdf C:\out.pdf
    Now let us check the related parameters:
  • -winfont               : this parameter can help you use Windows fonts to replace Base14 fonts
    -embedallfonts         :this parameter can help you embed all fonts in PDF file.
    -subsetfonts           : when you need to subset fonts in PDF, please add this parameter.
    -compressfonts         : when you need to compress fonts in PDF, please add this parameter.

When you use those parameters and those functions, please check the PDF properties first. Please make sure input PDF is test based then those functions can be reached. If the PDF is image based, the compression will fail. As to how to check, here are some tips: open PDF file, please try to copy text in PDF file. If you can copy, it is test based. If you can not copy, it is image based.

If the PDF file is image based, please compress PDF by the method of compressing image like downsample color images, set Monochrome Image Resolution and others. Please check more parameters in the readme.txt file.

By this method, you can reach two goals: compress PDF and replace fonts in PDF. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
PDF Compressor

How to compress PDF for easy checking and emailing?

Question: If I compress a PDF file into a zip file and email it to someone, will the recipient be able to view the file?I know its a complex question, but one of my aunt's friends needs to know so she can send a resume under PDF format, but it keeps saying the file is too large.

Answer: If you compress it to zip, receipt can not open it once she receives it. The receipt also need to install zip software then she can unzip it and check the PDF content. As the content of PDF is resume, it is test based, so you can compress it through subset text in it. And compress photo in it a little bit more. Then the size of PDF can be reduced at least 50% percent. In the following part, I will show you how to make it in detail steps.

Step 1. Download VeryDOC PDF Compressor

  • This software is Windows command line version, when downloading finishes, please unzip it then you can call the executable file in MS Dos Windows.
  • If you need to know more about this software, please visit  homepage of VeryDOC PDF Compressor

Step 2. Compress test based PDF file by command line

  • Usage:   pdfcompressor [options] <pdf-file> [<out-pdf>]
  • Here are some examples and one list for your reference. Please according to your content choose the proper compression method.

list of compression

  • Here are some examples.

pdfcompressor.exe -ci jpg -cidown -cidownres 50 -cidowntype 1 C:\in.pdf C:\out.pdf
By this command line, we can compress colorful image part by jpx and down sample color images.
pdfcompressor.exe -gi jpg -gidown -gidownres 50 -gidowntype 1 C:\in.pdf C:\out.pdf
By this command line, we can set Grayscale Image Compression by values: jpg and downsample Grayscale images 50%.
pdfcompressor.exe -mi fax -midown -midownres 50 -midowntype 1 C:\in.pdf C:\out.pdf
By this command line, we can set Monochrome Image Compression and downsmaple at 50%.
Now check related parameters:
-ci <string>           : Set Color Image Compression, values: jpx, jpg, zip
  -cidown                : Downsample color images
  -cidownres <int>       : Set Color Image Resolution
  -cidowntype <int>      : Downsample type for color images:
  -midown                : Downsample Monochrome images
  -midownres <int>       : Set Monochrome Image Resolution
  -midowntype <int>      : Downsample type for Monochrome images:

When you need to compress the fonts part, please add those parameters:
-embedallfonts         : Embed all fonts
-subsetfonts           : Subset fonts
-compressfonts         : Compress fonts
For example: pdfcompressor.exe -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf

By this method, we can compress PDF to very little size and you can send it to someone easily. Meanwhile once the receipt receives it, she can view at once. And the quality will not be effected. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
PDF Compressor

Compress PDF using JPEG2000 technology by command line

   VeryDOC PDF Compressor can help you compress color scanned PDF down to the same size as black and white TIFF Group 4 images by JPEG2000 technology. JPEG2000 is an image compression standard and coding system, which was created with the intention of superseding their original discrete cosine transform-based JPEG standard with a newly designed, wavelet-based method. By this method, we can reduce 100 times of their original size while maintaining better image quality and text legibility. Now let us check the JPEG2000  compression effect from the following snapshot. Even if you compress image by 1:100 times, the quality is still good.

compress image by JPEG2000
     Compress image by JPE2000

In the following part, let us check how to use this software and this technology to compress PDF.

Step 1. Download PDF Compressor

  • This software is Windows command line application, when downloading finishes, there will be an zip file. Please unzip it and then check elements in it and find the executable file.
  • Before run the conversion, you’d better read the website and help document then you can know more about this software. 

Step 2. Compress PDF by JPEG2000 through command line

  • When run the conversion, please refer to the usage and examples.
  • Usage:       pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When you need to compress PDF by method JPEG2000, please refer to the following command line template. pdfcompressor.exe -jbig2 C:\in.pdf C:\out.pdf
    By this command line, you can compress PDF by JBIG2 arithmetic.
    pdfcompressor.exe -jbig2 -jpx C:\in.pdf C:\out.pdf
    By this command line, you can compress color and grayscale image streams with JPEG2000 arithmetic.
    Now let us check the related parameters:
  • -jbig2    :by this parameter, you can compress monochrome image streams with JBIG2 arithmetic
    -jpx       : by this parameter, you can compress color and grayscale image streams with JPEG2000 arithmetic
    -jpxquality <string>: when you need to set Quality for JPX Compression, from 0.0 to 100.0, default is 0.5

  • When you need to do batch compression, please refer to the following command line templates. You can either use wild character or use for mode.
     pdfcompressor.exe C:\in\*.pdf C:\out\*.pdf
    for %F in (D:\test\*.pdf) do "pdfcompressor.exe" "%F" "%~dpnF-out.pdf"
    for /r D:\test %F in (*.pdf) do "pdfcompressor.exe" "%F" "%~dpnF-out.pdf"
  • This software provides three strategies to compress PDF file.
    1. Subset fonts in PDF files. This method is good when you need to process text based PDF file.
    2. Compress image streams with JBIG2 and JPEG2000 technologies.
    3. Remove unused objects (a garbage collector for PDF files). This method is good when you need to create Web-friendly PDF files

If you need to know more about this software, please visit its homepage and website. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
PDF Compressor

Compress PDF with colorful images by professional methods

   There are many kinds of PDF files you may meet when you need to compress PDF files. If you compress PDF by the same method, the compression effect will not be good. Take compressing PDF with colorful image for example, VeryDOC PDF Compressor will give you professional method to process them. In the following part, I will show you how to compress PDF by command line.

Step 1. Download PDF Compressor Command Line

  • If you need to use this software on the single computer or laptop, please download the server version which either can be used on server or single computer.
  • When downloading finishes, there will be an zip file. Please extract it to some folder then call the executable file in MS Dos Windows.

Step 2. Compress PDF with colorful image by command line

  • When you use this software, please refer to the usage and example. And this software is Windows application, now it can not work under Mac and Linux version.
  • Usage:        pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When you need to compress PDF with colorful image, there are some options available for you.
  • -ci <string>  : when you need to set Color Image Compression, there are three values: jpx, jpg, zip for you to choose.
    -cidown         : you can try to downsample color images.
    -cidownres <int>       : Set Color Image Resolution. By this parameter, you can try to compress colorful image by adjusting image resolution.
    -jpxquality <string>   : Set Quality for JPX Compression, from 0.0 to 100.0, default is 0.5
    -cidowntype <int>      :When you need to  downsample type for color images, there are four values for you to choose.

          -cidowntype 0: default
          -cidowntype 1: Subsample
          -cidowntype 2: Average
          -cidowntype 3: Bicubic
    Here are some examples:
    pdfcompressor.exe -jpx -jpxquality 1 C:\in.pdf C:\out.pdf
    By above command line, you can compress PDF by jpx method and specify Quality for JPX Compression as 1. The range of compression quality is from  0.0 to 100.0, default is 0.5. Please check the following two command line templates as examples.
    pdfcompressor.exe -jpx -jpxquality 0.5 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -jpx -jpxquality 10 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -ci jpx -mi jbig2 C:\in.pdf C:\out.pdf
    By the above command line, you can compress image by jpx and set Monochrome Image Compression values as jbig2l. Please check more examples in the following part.
    pdfcompressor.exe -ci jpx -gi jpx -mi jbig2 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -ci jpg -cidown -cidownres 50 -cidowntype 1 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -gi jpg -gidown -gidownres 50 -gidowntype 1 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -mi fax -midown -midownres 50 -midowntype 1 C:\in.pdf C:\out.pdf

If you need to know more examples and usage, please check them in the readme.txt or on our website. And this software also provides many other methods of compress grey image PDF, or text based PDF file. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
@VeryDOC

Compress image PDF by command line and preset screen option

   In this article, I will show you how to compress image PDF and preset screen options by command line. Image PDF is often converted from image or scan file, and it can not be copied and pasted. When compress those PDF file, please use compressing image PDF method.

    And  PDF preset is a group of settings that affect the process of creating a PDF. These settings are designed to balance file size with quality, depending on how the PDF are used. Most predefined presets are shared across most of PDF application. Here I will take setting screen preset for example to show you how to do compression and presetting to PDF together.

Step 1. Download VeryDOC PDF Compressor

  • The method I used here is under the help of software VeryDOC PDF Compressor, which is a professional tool of compressing Adobe Acrobat PDF files, it can reduce PDF file size up to 40-95% using PDF optimization technology for PDF file compression.
  • This is command line version software, once downloading finishes, there will be an zip file. When downloading finishes, please unzip it then you can check the elements in it.

Step 2. Compress PDF by Command Line

  • When use this software,pl ease refer to the usage and examples. Here I will list some of it.
  • Usage:pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When compress PDF and preset screen options, please refer to the following command line templates.
  • pdfcompressor.exe -preset screen C:\in.pdf C:\out.pdf
    pdfcompressor.exe -preset ebook C:\in.pdf C:\out.pdf
    pdfcompressor.exe -preset printer C:\in.pdf C:\out.pdf
    pdfcompressor.exe -preset prepress C:\in.pdf C:\out.pdf
    pdfcompressor.exe -preset default C:\in.pdf C:\out.pdf
    Check related parameters
    -preset <string>       : Preset options to compress PDF file, values: screen, ebook, printer, prepress, default
    If you do not add special parameters, this software will compress PDF file by default method. However, when compressing image PDF, please use some special method then you can get the better compression effect.
    Here are some examples for your reference
    -ci <string>           : Set Color Image Compression, values: jpx, jpg, zip
    -cidown                : Downsample color images
    -cidownres <int>       : Set Color Image Resolution
    -cidowntype <int>      : Downsample type for color images:
            -cidowntype 0: default
            -cidowntype 1: Subsample
            -cidowntype 2: Average
            -cidowntype 3: Bicubic

      -gi <string>           : Set Grayscale Image Compression, values: jpx, jpg, zip
      -gidown                : Downsample Grayscale images
      -gidownres <int>       : Set Grayscale Image Resolution
      -gidowntype <int>      : Downsample type for Grayscale images:
            -gidowntype 0: default
            -gidowntype 1: Subsample
            -gidowntype 2: Average
            -gidowntype 3: Bicubic

    The above parameters can also help you compress the image part in PDF file. And when in our knowledge base, we will publish articles about how to compress text based PDF files. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)