# oreiller
The package for easy image manipulation backed by pillow power.
The package for clean Pillow codebases.
```python
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()
```
## Docs
Methods prefixed by o is inspired by the [processing API](https://processing.org/reference).
### .new
Returns Image.new
### .fill
Modifies fill value. Impacts all functions. No need to re-specify fill=
### .line
Draws line without the need of ImageDraw
### .oline
Processing api of line(x1, y1, x2, y2)
### .otext
- x
- y
- text
- pilmoji keyword arguments
### .font
- font(ImageDraw.font(...))
### .arc
- args same as pillow args
### .oarc
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
### .chord
- args same as pillow args
### .ochord
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
### .rectangle
- args same as pillow args
### .orect
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
### .ellipse
- args same as pillow args
### .oellipse
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
### .rectangle
- args same as pillow args
### .orounded_rect
- x1
- y1
- x2
- y2
- radius
- Keyword arguments same as pillow
### .polygon
- args same as pillow args
## Changelog
[Emojilog 1.0](https://github.com/Abdur-rahmaanJ/emojilog)
```
0.2.0
🎉 .otext
🎉 .font
🎉 .arc
🎉 .oarc
🎉 .chord
🎉 .ochord
🎉 .polygon
🎉 .fill impacts all functions
🎉 .rectangle
🎉 .orect
🎉 .ellipse
🎉 .oellipse
🎉 .rectangle
🎉 .orounded_rect
0.1.0
🎉 Package skeleton
🎉 Oreiller class
🎉 .line
🎉 .oline
🔧 Fix cleanup: inform when closing closed images
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Abdur-RahmaanJ/oreiller",
"name": "oreiller",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "image pillow",
"author": "Abdur-Rahmaan Janhangeer",
"author_email": "arj.python@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fe/b5/ee75f6c34d84d7bfde757d8657c1bbcc9d280bea408d8b02aaeec3a2121f/oreiller-0.2.0.tar.gz",
"platform": null,
"description": "# oreiller\n\nThe package for easy image manipulation backed by pillow power. \n\nThe package for clean Pillow codebases.\n\n```python\nfrom oreiller import Oreiller as orey\n\nw, h = 220, 190\n\nimg = orey.new(\"RGB\", (w, h)) \norey.fill(None)\norey.oline(40, 40, w-10, h-10, width=0) # use .line for normal\nimg.show() \n\norey.cleanup()\n```\n\n## Docs\n\nMethods prefixed by o is inspired by the [processing API](https://processing.org/reference).\n\n### .new\n\nReturns Image.new \n\n\n### .fill\n\nModifies fill value. Impacts all functions. No need to re-specify fill=\n\n### .line\n\nDraws line without the need of ImageDraw\n\n### .oline\n\nProcessing api of line(x1, y1, x2, y2)\n\n### .otext\n\n- x\n- y\n- text\n- pilmoji keyword arguments\n\n### .font\n\n- font(ImageDraw.font(...))\n\n### .arc \n\n- args same as pillow args\n\n### .oarc\n\n- x1\n- y1\n- x2\n- y2\n- start\n- end\n- Keyword arguments same as pillow\n\n### .chord \n\n- args same as pillow args\n\n### .ochord\n\n- x1\n- y1\n- x2\n- y2\n- start\n- end\n- Keyword arguments same as pillow\n\n### .rectangle\n\n- args same as pillow args\n\n### .orect\n\n- x1\n- y1\n- x2\n- y2\n- Keyword arguments same as pillow\n\n### .ellipse\n\n- args same as pillow args\n\n### .oellipse\n\n- x1\n- y1\n- x2\n- y2\n- Keyword arguments same as pillow\n\n### .rectangle\n\n- args same as pillow args\n\n### .orounded_rect\n\n- x1\n- y1\n- x2\n- y2\n- radius\n- Keyword arguments same as pillow\n\n### .polygon \n\n- args same as pillow args\n\n## Changelog\n\n[Emojilog 1.0](https://github.com/Abdur-rahmaanJ/emojilog)\n\n```\n0.2.0\n\ud83c\udf89 .otext\n\ud83c\udf89 .font\n\ud83c\udf89 .arc\n\ud83c\udf89 .oarc\n\ud83c\udf89 .chord\n\ud83c\udf89 .ochord\n\ud83c\udf89 .polygon\n\ud83c\udf89 .fill impacts all functions\n\ud83c\udf89 .rectangle\n\ud83c\udf89 .orect\n\ud83c\udf89 .ellipse\n\ud83c\udf89 .oellipse\n\ud83c\udf89 .rectangle\n\ud83c\udf89 .orounded_rect\n\n0.1.0\n\ud83c\udf89 Package skeleton\n\ud83c\udf89 Oreiller class\n\ud83c\udf89 .line\n\ud83c\udf89 .oline\n\ud83d\udd27 Fix cleanup: inform when closing closed images\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "The package for easy and convenient image manipulation, heavy use of Pillow",
"version": "0.2.0",
"project_urls": {
"Bug Reports": "https://github.com/Abdur-RahmaanJ/oreiller/issues",
"Homepage": "https://github.com/Abdur-RahmaanJ/oreiller",
"Source": "https://github.com/Abdur-RahmaanJ/oreiller/"
},
"split_keywords": [
"image",
"pillow"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb4812c414575f5c7ed1f19c4a1ecd5d47acd43280d0c96ff4aa9854b4950cbb",
"md5": "c55f367b3f1b473e44fea533e2a88423",
"sha256": "7e9e3b7eeed31c406bfd17c0cf6fb0ad1e1906872c2d3b4c3eeb655f4e07a324"
},
"downloads": -1,
"filename": "oreiller-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c55f367b3f1b473e44fea533e2a88423",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 7172,
"upload_time": "2023-12-28T12:27:00",
"upload_time_iso_8601": "2023-12-28T12:27:00.200255Z",
"url": "https://files.pythonhosted.org/packages/eb/48/12c414575f5c7ed1f19c4a1ecd5d47acd43280d0c96ff4aa9854b4950cbb/oreiller-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "feb5ee75f6c34d84d7bfde757d8657c1bbcc9d280bea408d8b02aaeec3a2121f",
"md5": "4aac4b6a860551b4190d337066b2456d",
"sha256": "abf95b06b7c3108b903b6a543f8754b9bda261ee370d4f3d1bef57ef2f76eec5"
},
"downloads": -1,
"filename": "oreiller-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "4aac4b6a860551b4190d337066b2456d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 9834,
"upload_time": "2023-12-28T12:27:01",
"upload_time_iso_8601": "2023-12-28T12:27:01.316969Z",
"url": "https://files.pythonhosted.org/packages/fe/b5/ee75f6c34d84d7bfde757d8657c1bbcc9d280bea408d8b02aaeec3a2121f/oreiller-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-28 12:27:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Abdur-RahmaanJ",
"github_project": "oreiller",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "oreiller"
}