Render a HTML overlay over existing PDF files.
Project description
Render a HTML overlay over existing PDF files.
Install
sudo apt install libgirepository1.0-dev gir1.2-poppler-0.18 gir1.2-pango-1.0 python3 -m pip install htmloverpdf
A wrapper for https://weasyprint.org/ which allows compositing with existing PDF files.
It parses the HTML looking for <img> tags with src urls ending “.pdf”. Each one begins a new page and copies all source pages overlaying the weasyprint output. The magic value “blank.pdf” outputs sections HTML without overlaying.
Usage
htmloverpdf < test.html > test.pdf
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
htmloverpdf-0.0.3.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for htmloverpdf-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788a2ad45fad9e91ad8874e96ece1460b83ed0cc657954c2216e3e516c2f0b90 |
|
MD5 | 2b4191d6e8501747fc11c264f914b3a7 |
|
BLAKE2b-256 | 637e64ab5caef6c92c8327ec5be65ca64b64e490194f550633ed1a631e3f2a79 |