Skip to main content

Easily convert PDF to Image from command line

Project description

Pdf-To-Image

PyPI version Downloads

Simple Command Line tool to convert PDF to Image. It is a wrapper of pdf2image.

How to Install

pip install pdftoimg

You need to install poppler if you don't have already.

  • For Windows you can install it from here.
  • For MacOS you can install it from here.

How to use

  • Open terminal.
  • Run pdftoimg -h for help.

Usage:

  • pdftoimg -i <pdf_path> -o <output_folder_path> -f <format> -d <dpi> -g <True/False>

Example usage:

  • pdftoimg -i /Users/starkblaze01/Bova/file_name.pdf -o /Users/starkblaze01/output_folder

Definitions:

  • -i for input pdf_file path
  • -o for output_folder path
  • -f for image format(Default: jpeg)
  • -d for dpi(Default: 200)
  • -g for grayscale image(Default: False)

GIF

Click here

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

pdftoimg-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdftoimg-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pdftoimg-0.1.0.tar.gz.

File metadata

  • Download URL: pdftoimg-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4

File hashes

Hashes for pdftoimg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29335289865357ebce0ec2b9766a747117b9e5146e30f792705bb26b2923f1ec
MD5 a1be0c5382c3704620d2a140dfd32115
BLAKE2b-256 5695cb1ddb3551ad00c89dfafa06670e624ade340786f1e596a013fee903b26e

See more details on using hashes here.

File details

Details for the file pdftoimg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdftoimg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4

File hashes

Hashes for pdftoimg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 108792b174f11314ec34ac5ef1b022ad85abbacd2c7290c4fdcaed0a4d3362ee
MD5 f5a601a197791570905870a82dd814bb
BLAKE2b-256 cf696fb29209983377d9abb9972078dfa4ce7af3bbf5f0832671a0aa9e63c84b

See more details on using hashes here.

Supported by

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