Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randomggames/imagetotextdisplay
A python script that reads image files and generates a function to generate the image in minecraft using text display entities.
https://github.com/randomggames/imagetotextdisplay
Last synced: about 1 month ago
JSON representation
A python script that reads image files and generates a function to generate the image in minecraft using text display entities.
- Host: GitHub
- URL: https://github.com/randomggames/imagetotextdisplay
- Owner: RandomGgames
- Created: 2023-10-31T02:28:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T02:56:57.000Z (7 months ago)
- Last Synced: 2024-10-15T06:35:23.833Z (3 months ago)
- Language: Python
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image to Text Display
This is a python script that reads image files and generates a function that creates the image in minecraft using text display entities and a colored ■ characters (ALT+254).
Please note, each pixel in the image will be its own entity in game, so the higher the resolution, the more entities that will be summoned. A 10x10 image will have 100 text_display entities summoned for example!
![image](https://github.com/RandomGgames/ImageToTextDisplay/assets/17207260/d916a850-666f-4741-9495-dc54fd79cc9e)
## How to use it
### Requirements
This python script relies on the yaml lib for the config file. `pip install pyyaml` https://pypi.org/project/PyYAML/### Edit the `config.yaml` file
1. Set the `image_file` to the path of the image you want to generate.
2. Set the `output_file` to the path of the .mcfunction file that will be generated, containing the list of summon commands.
3. Run the `Convert.py` script , place your `output_file` into a datapack, and run the function.