Skip to main content

Package to convert text data into image

Project description

Text_To_Image

Method to convert text to image in python using opencv2

INSTALL

pip install pytexttoimage

EXAMPLE

from pytexttoimage.texttoimage import text_2_image

fontscale = 2
filename = 'sample.png'
thickness = 2
textcolor = (0,0,0)
mark = 'EXAMPLE TEXT'
text_2_image(mark,filename,fontscale,thickness,textcolor)

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

pytexttoimage-0.0.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

pytexttoimage-0.0.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pytexttoimage-0.0.2.tar.gz.

File metadata

  • Download URL: pytexttoimage-0.0.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.2

File hashes

Hashes for pytexttoimage-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1c697382d4a199e2f644c1305ef4612fdd1d7d2945ddbed03fc1ede3b49da53e
MD5 cfcd8a4ede6ac6f2ecdab1d179b974b0
BLAKE2b-256 7a4a4a874dbb78b03f0331d15d8d85ee0b36391bf4e03282aef53559a9c62cb8

See more details on using hashes here.

File details

Details for the file pytexttoimage-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pytexttoimage-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.2

File hashes

Hashes for pytexttoimage-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 beb542c6200401fc5d610a74d82fce3afd49e385847af74a3b47e70b36594b98
MD5 5b52a1037d019517340a01ecf6ac4fa9
BLAKE2b-256 17ff101c3857cb59da5e584b940fa20a0636a1b94c78b992930417dd1e29744d

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