Skip to main content

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

  • 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 ❤️

Project details


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.3.tar.gz (748.5 kB view details)

Uploaded Source

File details

Details for the file pil_lite-0.1.3.tar.gz.

File metadata

  • Download URL: pil_lite-0.1.3.tar.gz
  • Upload date:
  • Size: 748.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pil_lite-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7f12921e65dd7270be3af88781d7bdcf6dc38c2c0e189b222bddc035072b69ac
MD5 3a3631086e398da959f5918cec636a68
BLAKE2b-256 06a046712ae32081f4928a3d1cdda146ea88ac58340378ec5d8873d8d8feb9a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page