Skip to main content

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


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.45.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

vbpdf-0.1.45-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file vbpdf-0.1.45.tar.gz.

File metadata

  • Download URL: vbpdf-0.1.45.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for vbpdf-0.1.45.tar.gz
Algorithm Hash digest
SHA256 f6bbef545d73bce5919d7b02bdd97b9417d6c4a8f7ef6df6a6b7f9584f095629
MD5 61255f61ef0a2f6254349ea4749fc875
BLAKE2b-256 475962af5295468e2ea08db2889347c52a31b7cf67925d2a35ca146efff0bdb0

See more details on using hashes here.

Provenance

File details

Details for the file vbpdf-0.1.45-py3-none-any.whl.

File metadata

  • Download URL: vbpdf-0.1.45-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for vbpdf-0.1.45-py3-none-any.whl
Algorithm Hash digest
SHA256 662c3ab4fe12eaad8943393e378a03733dacda821896cc15c5e72de3b3d0175f
MD5 bde2b337a88d1dd902f6e3b557bafd90
BLAKE2b-256 27ce236ed3b555245d428cefa5b9447b13b1e3c95b3b3787b5fd53bab3a5f013

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page