Image encoder for http
Functions
Encode: Takes in a filepath to a jpg, returns a string representation of base64 encoded bytes
Decdode: Takes a string representation of base64 encoded bytes and returns PIL image
Usage
Python
from image_encoder.image_encoder import *
to_send = encode('filepath.jpg')
image = decode(to_send)
Author
Jagath Jai Kumar
Release files for image-encoder 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_encoder-0.0.8.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_encoder-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / image_encoder-0.0.8.tar.gz
| Download URL | image_encoder-0.0.8.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1def95acea75bf5336eae8041f9170003e21c43fb208a0eab12b96708bf6500a
|
|
BLAKE2b-256 checksum How to use checksums |
a640311ab31be42722033ef2b72bd1babfa7776abbe570215a9ddedfe9409aa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / image_encoder-0.0.8-py3-none-any.whl
| Download URL | image_encoder-0.0.8-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fb7028249aea81398aeb38344af720442d6dbbac51d70260df0a890f9cfa5d2
|
|
BLAKE2b-256 checksum How to use checksums |
6f4f7d155152d5cc4357c1b452b30fc9b38bce3db8a73c4754c55f17a9445c2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|