Skip to main content

An experimental alternative of TeX/pdfcrop tool

Project description

pdfcrop

An experimental alternative of TeX/pdfcrop tool

Install from source

pip install git+https://github.com/Jordan-Haidee/pdfcrop.git

Install from PyPI

pip install pdfcrop-cli

Usage

$ pdfcrop.exe --help
usage: pdfcrop [-h] [OPTIONS]

╭─ options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮   -h, --help              show this help message and exit                                                                                           --input PATH, -i PATH   The input pdf file. (required)                                                                                            --output {None}|PATH, -o {None}|PATH                                                                                                                                      The output path. (default: None)                                                                                          --pages {None}|{[INT [INT ...]]}                                                                                                                                          The page numbers to crop. None denotes all pages. (default: None)                                                         --margins {None}|{[INT [INT ...]]}                                                                                                                                        The margins to reserve. None denotes all 0. If one number is given, it will be applied to four borders. (default:                                 None)                                                                                                                    
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ 

You can use examples/example.pdf to test whether pdfcrop works.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfcrop_cli-0.2.1.tar.gz (402.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdfcrop_cli-0.2.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file pdfcrop_cli-0.2.1.tar.gz.

File metadata

  • Download URL: pdfcrop_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 402.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.13

File hashes

Hashes for pdfcrop_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5e3ffd7806cb74827779fdce6053b6697544289870132cd5fa1e4dc530f91f35
MD5 132c2f85f491880b50615ff64fe4b5b0
BLAKE2b-256 a22ba99af77ec98effa5c4600eed6038d8aa668dcb108dfc4b5e1dab164ea35f

See more details on using hashes here.

File details

Details for the file pdfcrop_cli-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pdfcrop_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca5e0674c05b71389cb9f35628f93e004f05d521375067c9f5d40fc5e278a969
MD5 a84c92e0edb6fa88185f70f24fceebce
BLAKE2b-256 178814ecb394e0cfc81f2c1e369c7adf90b1cc1d842e1d39ce2a630336a7ab6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page