This program allows you to select an image and build it in Minecraft using blocks. It is designed for the Bedrock Edition of Minecraft.
Before running the program, ensure that you have the following installed:
- Python 3.x
- tkinter
- PIL (Python Imaging Library)
-
Clone the repository to your local machine:
$ git clone https://github.com/geosage/MCBE-ImageToBlocks.git
-
Install the required dependencies:
$ pip install tkinter pillow
-
Run the main.py script:
$ python main.py
-
A file dialog will appear, allowing you to select an image (supports .jpg, .png, .gif, .bmp). Choose an image and click "Open".
-
The selected image will be resized and saved as mainimage.png. The program will display a success message if the image is uploaded successfully.
-
The program will split the image into smaller blocks for processing and print the number of images being processed.
-
The closest images to the processed blocks will be selected and combined to create the final image. The combined image will be saved as finalimage.jpg.
-
The finalimage.jpg file will be opened automatically.
-
You will be prompted to import the final image into your Minecraft world. Respond with "Yes" or "No". If you choose "Yes", the program will proceed with the import process; otherwise, it will exit.
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the repository.
This project is licensed under the BSD 3-Clause License.
For any further questions or inquiries, please contact "groego" on discord.