Pil-Lite
lightweight and limited version of PIL/Pillow library
no native external dependencies (like libjpeg, zlib etc)
supports only trivial subset of formats (JPEG, PNG, BMP, 8 bit per channel)
no image editing functionality (as well as many other things)
basically interface has only open, save, resize and thumbnail functions
is based on stb_image.h, stb_image_write.h, stb_image_resize.h libraries
provides cffi python bindings for stb_image libraries
potentially insecure, should be used only with well-known sources of images
in production it’s recommended to use PIL/Pillow libraries
from PilLite import Image
img = Image.open('ich.png')
print(img.size)
img.thumbnail((200, 200))
img.save('ich.jpg')
Powered by ❤️
Metadata
Release files for Pil-Lite 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pil_lite-0.1.3.tar.gz | 748.5 kB | Details |
Release files / pil_lite-0.1.3.tar.gz
| Download URL | pil_lite-0.1.3.tar.gz |
|---|---|
| Size | 748.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f12921e65dd7270be3af88781d7bdcf6dc38c2c0e189b222bddc035072b69ac
|
|
BLAKE2b-256 checksum How to use checksums |
06a046712ae32081f4928a3d1cdda146ea88ac58340378ec5d8873d8d8feb9a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|