Modern Python image processing — everything Pillow does, and everything it couldn't
Project description
lilow
Modern Python Image Processing Library Everything Pillow does, and everything it couldn't.
from lilow import LilowImage
# Chainable API
img = LilowImage.open("photo.jpg")
result = img.brightness(1.2).contrast(1.1).sharpen(1.0).vignette(0.3).save("out.jpg")
# HDR tonemapping
LilowImage.open("hdr.exr").tonemap(method="aces").save("out.jpg")
# 3D rendering
from lilow.threed import Scene, Mesh, Light
scene = Scene()
scene.add(Mesh.sphere(radius=1.0))
scene.add(Light.directional(direction=(1, -1, -1), color="white"))
scene.render(800, 600).save("sphere.png")
Installation
pip install lilow
Features
- Chainable API —
img.resize().sharpen().upscale().save() - Pillow-compatible — migration with minimal changes
- 23 blending modes — Multiply, Screen, Overlay, Color Dodge, etc.
- HDR tonemapping — Reinhard, ACES, Filmic, Drago
- 3D renderer — software rasterizer with Phong shading, shadows, OBJ loader
- 3D effects on 2D — extrude, perspective 3D, drop shadow, bump map
- AI upscaling — Real-ESRGAN via ONNX Runtime
- Background removal — U2Net via ONNX
- Animated GIF — read, write, manipulate
- Color spaces — RGB, HSL, HSV, LAB, XYZ, CMYK, YUV
- Full I/O — JPEG, PNG, WebP, GIF, TIFF, AVIF, HEIC, SVG, RAW
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lilow-0.1.0.tar.gz
(42.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lilow-0.1.0-py3-none-any.whl
(51.1 kB
view details)
File details
Details for the file lilow-0.1.0.tar.gz.
File metadata
- Download URL: lilow-0.1.0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d49eb6b5def907d20d7a3f5fd05f4ac8b3662c17ed1e4f7ebca50e6cfefa9652
|
|
| MD5 |
6e8bcfe95e2330e1d5fa566aef7337ae
|
|
| BLAKE2b-256 |
09e2c44a7e05b7db631ec39fe911a2180dffa0057d0c9a686c4b1f54ea79cc48
|
File details
Details for the file lilow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lilow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78b161fbafc00e3054e993b956e0bb1ecaaca7a8cc066a079ffb545013cd846f
|
|
| MD5 |
474365c9351584bce65c3fba7d5aa606
|
|
| BLAKE2b-256 |
cf6041210dd0b3f6aebc98956148fb8eea7bdc7ff879fa49dcce8be873c03a57
|