Skip to main content

Convert a file to .jpg

Project description

Uses the pdf2image library and code from this [answer](https://stackoverflow.com/questions/29760402/converting-a-txt-file-to-an-image-in-python) to convert files to jpg and returns the path

Can be imported with

`commandline import file_to_image `

Can be used with `python from file_to_image import convert_to_image path = "Where your file is" jpg_path = convert_to_image(path) `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ftoimage, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size ftoimage-1.1.4.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page