PNG to Blocks - a quick hack of Sethbling's Player Statue filter

Post date: Mar 07, 2013 8:12:44 PM

This is an MCEdit filter to render PNG pictures as pixel art in the Minecraft world.

The base code is @Sethbling's Player Statue filter, which relies on this png.py library from MIT:

http://pypng.googlecode.com/svn/trunk/code/png.py

The filter takes two string parameters:

host is the DNS name or IP address and port, seperated by colon. For example: "upload.wikimedia.org:80"

path is the rest of the url to the PNG file. For example "/wikipedia/commons/thumb/b/b9/Mona_Lisa.PNG/160px-Mona_Lisa.PNG"

Version 2 of the filter: takes a checkbox parameter. If 'Horizontal' is checked, then the picture will render along the x,z surface (like a floor). If the checkbox is not checked, the picture will draw vertically, like a wall.