a python package for loading images
Project description
loadimg
A python package for loading images
How to use
Installation
pip install loadimg
Usage
from loadimg import load_img
load_img(any_img_type_here,output_type="pil",input_type="auto")
Supported types
- Currently supported input types - numpy, pillow, str(both path and url), base64, auto
- Currently supported output types - numpy, pillow, str, base64
Contributions
- thanks to @KingNish24 for improving base64 support and adding the
input_type
parameter - thanks to @Saptarshi-Bandopadhyay for supporting base64 and improving the docstrings
- thanks to @Abbhiishek for improving image naming
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
loadimg-0.3.3.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file loadimg-0.3.3.tar.gz
.
File metadata
- Download URL: loadimg-0.3.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6b13cdd0448467504611a098b217d1aad1c9a370072d8c7f86961fbd9095703 |
|
MD5 | 70914019924dc3687b8bb54bad0e48a1 |
|
BLAKE2b-256 | f373b7e8c1eedc947ec0293f5c50b2fa6f64a2d27f3925e84dfa033be1fa9716 |
File details
Details for the file loadimg-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: loadimg-0.3.3-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d5eb0e29e4c6579f8f526eda5a3ed6558cad0322a7bdd3c6adcc1ecb75570a |
|
MD5 | ca35c570e66fcf5fe6bcf9c788329ca0 |
|
BLAKE2b-256 | 99d06b1ede95438ed1875f1297d4429bd14d98c9eb141a73ab38121693a7ebff |