Python Imaging Library Lite
Project description
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
from PilLite import Image
img = Image.open('ich.png')
print(img.size)
img.thumbnail((200, 200))
img.save('ich.jpg')
supports python 3 and pypy
works via cffi
library is existed thanks to stb_image.h, stb_image_write.h, stb_image_resize.h libraries
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
pil_lite-0.1.2.tar.gz
(689.8 kB
view details)
File details
Details for the file pil_lite-0.1.2.tar.gz
.
File metadata
- Download URL: pil_lite-0.1.2.tar.gz
- Upload date:
- Size: 689.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0318b38ead26fb5ac1896a353de918606b002d13631a31b20160108c0ab7a292 |
|
MD5 | 8ce2b5b4d6b02a9773c03594ac0a1325 |
|
BLAKE2b-256 | ef4b4aee66b1aecad8dd5bf6c86406d7ac77c0244189f07f277ab478242cec94 |