Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I easily crop a PDF page?

Tags:

pdf

crop

How can I easily crop a PDF page in a given PDF file? I prefer using as little coding as possible, and guess border geometries as little as possible...

like image 575
Sparkler Avatar asked Oct 23 '14 22:10

Sparkler


People also ask

Can I crop a PDF for free?

You can crop a PDF on Windows for free without having to purchase Adobe Acrobat or a similar paid service. Windows has a built-in tool called the snipping tool that allows you to crop any image on your screen and save it as its own file — including PDF documents.

How do I cut out a section of a PDF?

Press "CTRL+X" at once to cut the section from the pdf or right click the selected area and click "Cut" from the drop down menu. The section now replaces with the background color that matches your PDF.

Can I crop a PDF in Adobe Reader?

2 Answers. Adobe Reader can neither crop PDF not convert/export PDF page content to some other file format. For that you need Acrobat (for crop and export). As well Adobe has online subscription services that can export PDF page content to Word / Excel.


1 Answers

There are several options:

  1. Crop by point-and-click using a GUI front-end:
    • pdf-quench
    • krop
    • briss
    • PDF scissors
  2. Crop by using the command line:
    • pdfcrop command (provided by texlive-extra-utils), using the following arguments: pdfcrop --margins '-30 -30 -250 -150' --clip input.pdf output.pdf (-left -top -right -bottom format).
    • PDFCrop
    • convert -crop command (provided by imagemagick)
    • Ghostscript
  3. Crop by writing your own script:
    • Python
    • LaTeX
like image 155
Sparkler Avatar answered Oct 12 '22 03:10

Sparkler