Lightweight image library
Project description
file to ndarray
- code::
from imageworker import file_to_array data = file_to_array(“test.jpg”)
url to ndarray
- code::
from imageworker import url_to_array data = url_to_array(”https://n.sinaimg.cn/spider2021326/106/w1024h682/20210326/5927-kmvwsvy1040641.jpg”)
upload ndarray to qiniu cdn
- code::
key = QINIU_KEY secret = QINIU_SECRET domain = HOST bucket = QINIU_BUCKET url = put_qiniu(data,key,secret,domain,bucket)
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
imageworker-0.1.4.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for imageworker-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b16a3e25d19f9a09fce1a5f1323deb90b83505c1758fac3b9bcde78195a332 |
|
MD5 | 279feaf9fa4c392e395c148e3dbebadd |
|
BLAKE2b-256 | 107e346428a7fe0c1ff8fa7d4d8cd6d3cdda6e44dc4718da2e7416c7ff90788e |