Skip to main content

Convert image into base64 string and store into the txt file

Project description

IMAGE TO BASE64 STRING

Convert Image into base64 format.

Supprted image format is:

  • jpg
  • png
  • jpeg
  • JPG
  • JPEG
  • TIF

Install Package

Install package from pypi.org

pip install img2b64

Usage

img2b64.py -h
usage: img2b64.py [-h] [-i IMG]

Convert Image into base64 format, supported format is jpg and png.

optional arguments:
  -h, --help         show this help message and exit
  -i IMG, --img IMG  Input image or image path to convert into base64

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

i2b-2.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

i2b-2.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file i2b-2.0.0.tar.gz.

File metadata

  • Download URL: i2b-2.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for i2b-2.0.0.tar.gz
Algorithm Hash digest
SHA256 323a8cf5dbf2b04bf53389712b023d2008fc865bafea237c0c34889981719ed7
MD5 0ec7724c96b49ef39efb0d965efe8b30
BLAKE2b-256 7e28c5152e66d064cba42f506071481067f43590076120dec01482b95ac71410

See more details on using hashes here.

File details

Details for the file i2b-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: i2b-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for i2b-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7369a3cafaf5384c73e5410c8133aa6713dea849c50ac25ea06bef78f3da1db
MD5 eb68f9794fc35acf718204931ca6d398
BLAKE2b-256 dcd905769f5fc9075537c46942d0e5c24e377f007a36b5ce24d419d9e93085df

See more details on using hashes here.

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