# How to remove speckles during cropping/removing PDF margins

It is easy to use VeryDOC PDF Margin Crop to remove speckles when cropping/removing PDF margins through command line.

Here are details to realize them in Windows systems below:

Please click following icon so that trial installer could be yours, and then, you need to double-click it and follow setup wizard to install GUI and CMD version in your computer, so CMD version could be used in your later process.

Step2. Run command prompt

After installation, please run cmd.exe in your computer in order to open command prompt, which is operating environment of command line for Windows platforms. And then, commands and parameters could be typed directly for later process by yourself. 🙂

Step3. crop/remove PDF margins and remove PDF speckles flexibly

In opened command prompt, you can see the following example to type commands and parameters on your own to fulfill your process:

pdfmc.exe –margin 10x10mm –specklesize 20 C:\in1.pdf C:\out1.pdf

pdfmc.exe –margin 10x10x10x10mm –specklesize 0 C:\in2.pdf C:\out2.pdf

And in the examples above, you may need to know:

• pdfmc.exe: call executive file “pdfmc.exe” for running software
• –specklesize 20: remove the speckles which size less than this value,
default is 20 pixels, also you can type other int value, e.g., 10, 0, etc.
• ….in..pdf: specify input PDF file before removing PDF margins
• ….out..pdf: specify output PDF file after removing PDF margins
• -margin 10mm: Keep margin to 10 mm to left
-margin 10x10mm: Keep margin to 10 mm to left, top
-margin 10x10x10mm: Keep margin to 10 mm to left, top, right
-margin 10x10x10x10mm: Keep margin to 10 mm to left, top, right, bottom

When you type commands and parameters like above, you can start to remove margins of PDF and remove speckles from source PDF files through VeryDOC PDF Margin Crop. And then, PDF files without specific blank margins could be added into targeting folder. 🙂

After you read the illustration above, do you think this software satisfy you? If you want to own full version of VeryDOC PDF Margin Crop, please buy it at purchase page of VeryDOC PDF Margin Crop.

VN:F [1.9.20_1166]