Pil-Lite 0.1.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

PilLite 0.1.1

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.