The package for easy image manipulation backed by pillow power.
The package for clean Pillow codebases.
Oreiller means a pillow in french.
from oreiller import Oreiller as orey
w, h = 220, 190
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()Methods prefixed by o is inspired by the processing API.
Returns Image.new
Modifies fill value. Impacts all functions. No need to re-specify fill=
Draws line without the need of ImageDraw
Processing api of line(x1, y1, x2, y2)
- x
- y
- text
- pilmoji keyword arguments
- font(ImageDraw.font(...))
- args same as pillow args
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
- args same as pillow args
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
- args same as pillow args
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
- args same as pillow args
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
- args same as pillow args
- x1
- y1
- x2
- y2
- radius
- Keyword arguments same as pillow
- args same as pillow args
0.2.0
🎉 .otext
🎉 .font
🎉 .arc
🎉 .oarc
🎉 .chord
🎉 .ochord
🎉 .polygon
🎉 .fill impacts all functions
🎉 .rectangle
🎉 .orect
🎉 .ellipse
🎉 .oellipse
🎉 .rectangle
🎉 .orounded_rect
🔧 Fix otext
0.1.0
🎉 Package skeleton
🎉 Oreiller class
🎉 .line
🎉 .oline
🔧 Fix cleanup: inform when closing closed images
