https://github.com/healeycodes/artisan-pixelation
Inspired by Kensuke Koike's real life pixelation art, this program which performs an approximation of his 'Avatar' piece.
https://github.com/healeycodes/artisan-pixelation
Last synced: about 1 year ago
JSON representation
Inspired by Kensuke Koike's real life pixelation art, this program which performs an approximation of his 'Avatar' piece.
- Host: GitHub
- URL: https://github.com/healeycodes/artisan-pixelation
- Owner: healeycodes
- Created: 2018-08-08T18:02:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-01T21:01:49.000Z (over 7 years ago)
- Last Synced: 2024-10-05T17:42:19.543Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 4.25 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### artisan pixelation
Inspired by Kensuke Koike's real life pixelation art, this program which performs an approximation of his [Avatar](https://www.youtube.com/watch?v=U1KiC0AXhHg) piece.

* `pip install requirements.txt`
* `python image.png side-by-side.py` The first argument should be an image.
* `--resolution 22` (optional arg) How many blocks you want to break the image into
* `--density 4` (optional arg) How little of the image you want to remain - higher is more destruction.
The resulting image will be saved as `combined.png`. You can use `Image.show()` for testing and a temporary image will be opened in a default program. See the [Pillow docs](https://pillow.readthedocs.io/en/5.2.x/) for more. Only tested with Python 3.5 and up.
### Examples
1.

2.

3.

Thanks to https://www.kensukekoike.com.