The package for easy and convenient image manipulation, heavy use of Pillow
Project description
oreiller
The package for easy image manipulation.
The package for clean Pillow codebases.
from oreiller import Oreiller as orey
w, h = 220, 190
shape = [(40, 40), (w - 10, h - 10)]
img = orey.new("RGB", (w, h))
orey.fill(None)
orey.oline(40, 40, w-10, h-10, width=0) # use .line for normal
img.show()
orey.cleanup()
Docs
.new
Returns Image.new
.fill
Modifies fill value
.line
Draws line without the need of ImageDraw
.oline
Processing api of line(x1, y1, x2, y2)
Changelog
0.1.0
🎉 Package skeleton
🎉 Oreiller class
🎉 .line
🎉 .oline
🔧 Fix cleanup: inform when closing closed images
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
oreiller-0.1.0.tar.gz
(9.2 kB
view hashes)