A small utility to generate fairly high resolution preview images of PDFs suitable for viewing or sharing to social media
Project description
pdf2up
A small utility to generate preview images of research papers (e.g. arXiv) suitable for social media (e.g. Twitter)
Installation
To install as a command line tool pdf2up
run:
pip install pdf2up
Usage
Run pdf2up input.pdf
, optionally with the following flags:
-
-b
/--box
to specify a crop box for each pre-cropped 2-up page image- 4 values:
-b 1 2 3 4
gets read asleft, top, right, bottom
- 2 values:
-b 1 2
gets repeated as-b 1 2 1 2
- 1 value:
-b 1
=-b 1 1 1 1
- 4 values:
-
--all
to override the default of 8 pages (4 images, each 2-up)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdf2up-0.0.6.tar.gz
(4.1 kB
view hashes)
Built Distribution
pdf2up-0.0.6-py3-none-any.whl
(4.0 kB
view hashes)