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
pil_lite-0.1.3.tar.gz 748.5 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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