Pil-Lite

Python Imaging Library Lite


Keywords
Imaging
License
MIT
Install
pip install Pil-Lite==0.0.5

Documentation

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
from PilLite import Image
img = Image.open('ich.png')
print(img.size)
img.thumbnail((200, 200))
img.save('ich.jpg')
Travis CI build status