There was this issue with single page pdf in instagram stacking and blurring _ i fixed that.
Project description
vbpdf
Install using pip
pip install vbpdf
Usage
vbpdf -h
Usage: vbpdf [OPTIONS] COMMAND [ARGS]...
Options:
-h, --help Show this message and exit.
Commands:
overlay Annotates any pdf file.
split Splits any pdf file.
topng Converts pdf pages into pngs
addbg Adds background to pngs.
vbpdf split -h
Usage: vbpdf split [OPTIONS]
Splits any pdf file.
Options:
-i, --inputfile PATH Input file [default: ./main.pdf]
-o, --outputfile PATH Output file [default: ./main_splited.pdf]
-p, --pages <INTEGER INTEGER>...
Pages range [default: 0, 0]
-h, --help Show this message and exit.
vbpdf overlay -h
Usage: vbpdf overlay [OPTIONS]
Annotates any pdf file.
Options:
-i, --inputfile PATH Input file [default: ./main.pdf]
-o, --outputfile PATH Output file [default: ./main_annotated.pdf]
-s, --size For checking size of the pdf
-t, --text TEXT Text to be placed [default: Hello Sir!]
-p, --position <INTEGER INTEGER INTEGER INTEGER>...
Coordintes of the tex box [default: 0, 0,
100, 100]
-f, --foreground_color TEXT Foreground Color [default: 000000]
-b, --background_color TEXT Background Color [default: ffffff]
-F, --font TEXT Font type [default: Courier]
--font_size INTEGER Font size [default: 24]
-h, --help Show this message and exit.
vbpdf topng -h
Usage: vbpdf topng [OPTIONS]
Converts pdf pages into pngs
Options:
-i, --inputfile PATH Input file name [default: ./main.pdf]
-o, --outputfile PATH Output file name [default: ./main.png]
-d, --dpi INTEGER DPI -> density per inch for png [default:
320]
-t, --transparent Use this flag for transparent png
-r, --ranges <INTEGER INTEGER>...
Page range to be converted into png
[default: 1, 1]
-p, --pages Shows no of pages in a pdf file
-h, --help Show this message and exit.
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
vbpdf-0.1.50.tar.gz
(6.8 kB
view details)
Built Distribution
vbpdf-0.1.50-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file vbpdf-0.1.50.tar.gz
.
File metadata
- Download URL: vbpdf-0.1.50.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a7d16116f0dc1d4343b112f51a02947d3bd49306116cf334cb226337e7a51b |
|
MD5 | 79a36a312f7212e439fc1cc398f76f67 |
|
BLAKE2b-256 | d424c3697954b241ab569422709a63ef4e2391d2b6670a487edb61d1f20b7bb1 |
Provenance
File details
Details for the file vbpdf-0.1.50-py3-none-any.whl
.
File metadata
- Download URL: vbpdf-0.1.50-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a95a852d5c7786432da4ecaae15f52b75fbe09e8f49b8b429621515f675bdb |
|
MD5 | a1b912d8b9108e99b88ebee8e3452b2a |
|
BLAKE2b-256 | ce306ebc550dba807886a0cb4a8a79628283a211fa0cab88bd7e6c199aeadb3c |