Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nmoran/landscape-pdf

Utility to convert a pdf for viewing in landscape mode
https://github.com/nmoran/landscape-pdf

remarkable-tablet

Last synced: 3 months ago
JSON representation

Utility to convert a pdf for viewing in landscape mode

Awesome Lists containing this project

README

        

# landscape-pdf
Utility to convert a pdf for viewing in landscape mode using
[PyPDF2](https://pypi.org/project/PyPDF2/) package. This makes
it easier to read papers and other documents meant to a4 or
letter format on ereader devices like the remarkable2 which
do not make it easy to read content in landscape. Each
page is converted to two overlapping pages covering the
top and bottom of the original page.

![demo](imgs/demo.png)

# Installation
Can be installed using pip with

```
pip install landscape_pdf
```

# Running
Installation places a script called `landscape-pdf` in the path which takes two arguments, the name of the pdf file to convert and the name of the output file. For example

```
landscape-pdf 2012.13391.pdf 2012.13391_landscape.pdf
```