Skip to main content

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)

Source distribution for Pil-Lite 0.1.3
File Size Uploaded Provenance Actions
pil_lite-0.1.3.tar.gz 748.5 kB Without provenance Details for pil_lite-0.1.3.tar.gz

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

Security for Pil-Lite 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page