Added addbg for adding background image to png.
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.15.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file vbpdf-0.1.15.tar.gz
.
File metadata
- Download URL: vbpdf-0.1.15.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f8d688023d553a420ee997647662311b1e88cc994f7ea7f876bb0c39491a228 |
|
MD5 | 39089d847721e2ff063899f58978e06a |
|
BLAKE2b-256 | 88d9f61603d4e6bd6085c6cde937f74561f44c56c51d35fe3f8d143181bc5833 |
Provenance
File details
Details for the file vbpdf-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: vbpdf-0.1.15-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e93ebcbe248f597ac476fd2c0a0f4250a5e173ad95e1a30fe6d3a0cb7f48939 |
|
MD5 | 6cd1c580eeed3e379dfb2ca9e5559cc8 |
|
BLAKE2b-256 | 1936a354823c6a69466895fefd5f2f1006fea9dde775554c7face6328813c3db |