Partners Contact US Site Map Blog
A professional PDF Converter, PDF Writer, PDF Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD DWG Converter, as well as PCL Converter, etc.  

PDF Compressor Command Line Options

C:\>pdfcompressor.exe
PDF Compressor Command Line application
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Subset fonts in PDF files.
2. Compress image streams with JBIG2 and JPEG2000 technologies.
3. Remove unused objects (a garbage collector for PDF files).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.verypdf.com
http://www.verydoc.com
Email: support@verydoc.com
Usage: pdfcompressor [options] <pdf-file> [<out-pdf>]
-preset <string> : Preset options to compress PDF file, values: screen, ebook, printer, prepress, default

-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

-mi <string> : Set Monochrome Image Compression, values: jbig2, jbig2l, fax, zip, rle
-midown : Downsample Monochrome images
-midownres <int> : Set Monochrome Image Resolution
-midowntype <int>: Downsample type for Monochrome images:
    -midowntype 0: default
    -midowntype 1: Subsample
    -midowntype 2: Average
    -midowntype 3: Bicubic

-owner <string>: Owner password to use for encrypting output PDF file
-user <string> : User password to use for encrypting output PDF file
-perms <int>   : PDF security permissions to use for encrypting output file
-keylen <int>  : Defines the length (in bits) of the encryption key.

-winfont       : Use Windows fonts to replace Base14 fonts
-embedallfonts : Embed all fonts
-subsetfonts   : Subset fonts
-compressfonts : Compress fonts
-pwdinpdf <string> : Open password for input PDF file
-pdfa          : Create PDF/A file
-nobookmarks   : Don't generate bookmarks in output PDF file
-jbig2 : Compress monochrome image streams with JBIG2 arithmetic
-jpx   : Compress color and grayscale image streams with JPEG2000 arithmetic
-jpxquality <string> : Set Quality for JPX Compression, from 0.0 to 100.0, default is 0.5
-skip  : Don't overwrite an output file if it already exists
-$ <string>    : input registration key

Examples:

pdfcompressor.exe C:\in.pdf C:\out.pdf
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"
pdfcompressor.exe -jbig2 C:\in.pdf C:\out.pdf
pdfcompressor.exe -jbig2 -jpx C:\in.pdf C:\out.pdf
pdfcompressor.exe -jpx -jpxquality 1 C:\in.pdf C:\out.pdf
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 -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
pdfcompressor.exe -ci jpx -mi jbig2 C:\in.pdf C:\out.pdf
pdfcompressor.exe -ci jpx -gi jpx -mi jbig2 C:\in.pdf C:\out.pdf
pdfcompressor.exe -ci jpg -cidown -cidownres 50 -gi jpg -gidown -gidownres 50 -mi fax -midown -midownres 50 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
pdfcompressor.exe -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
pdfcompressor.exe -winfont -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
pdfcompressor.exe -subsetfonts C:\in.pdf C:\out.pdf
pdfcompressor.exe -preset screen -pdfa C:\in.pdf C:\out.pdf
pdfcompressor.exe -$ XXXXXXXXXXXXXX
pdfcompressor.exe -$ XXXXXXXXXXXXXX C:\in.pdf C:\out.pdf
 
References:
PDF/A: PDF Designed for Archival
The PDF/A-1b standard (ISO 19005-1:2005) is a subset of the PDF standard, designed for long-term archival of documents.
PDF Standards and Your Business
PDF/A: PDF for Archving
 
Correlative Links:
PDFEditor OCX: View and Edit PDF files.
PDFPrint: Print PDF files to Windows Printer without depend on Adobe Reader.
PDF to HTML Converter: Convert PDF files to HTML documents.
PDF to Text Converter: Convert PDF files to plain text files.
PDF to Vector Converter: Convert PDF files to PS, EPS, WMF, EMF, XPS, PCL, HPGL, SWF, SVG, etc. vector files.
PDF to Image Converter: Convert PDF files to TIF, TIFF, JPG, GIF, PNG, BMP, EMF, PCX, TGA formats.
DocConverter COM Component (+HTML2PDF.exe): Convert HTML, DOC, RTF, XLS, PPT, TXT etc. files to PDF files, it is depend on PDFcamp Printer product.
Image to PDF Converter: Convert 40+ image formats to PDF files.
HTML Converter: Convert HTML files to TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, PCX, TGA, JP2 (JPEG2000), PNM, etc. formats.
PDF to Word Converter: Convert PDF files to MS Word documents.
More PDF Products
 
See Also:
PDF to Image Converter :: PDF Extract TIFF :: HTML Converter :: PDFcamp Printer :: DocConverter COM :: PDF to Word Converter :: PDF to Text Converter :: Image to PDF Converter :: Image to PDF OCR :: PDF to HTML Converter :: AutoCAD DWG and DXF to PDF Converter :: PCL to PDF Converter :: Document Printer (docPrint) :: VeryPDF PDF Editor :: PDF Password Remover :: Encrypt PDF :: PDF Split-Merge :: PDF Stamper :: VeryPDF PDFPrint :: Advanced PDF Tools :: PDF Editor Toolkit :: Text to PDF Converter :: PowerPoint to Flash :: PowerPoint Converter


Home | Site Map | VeryPDF.com | VeryPCL.com | Contact | Blog

Copyright © 2002- VeryDOC.com Company. All Rights Reserved.