NOTE: Made for Minecraft 1.12 and Scratch 2.0 This project takes an image code from my image editor https://scratch.mit.edu/projects/163440219/ and creates an actual Minecraft structure file that can be loaded into a Minecraft world. The project will have you enter an image code and then will convert and compress the image (which may take a while, but probably less than a minute for small images like the ones that my image editor can create). It will then show a list whose third item contains a data URI. Click on that item, press Ctrl/Cmd+A to select all, and Ctrl/Cmd+C to copy it. Then paste the URI into your browser's address bar using Ctrl/Cmd+V, and press enter. You should then be presented with a download link for the file. Once you have the file downloaded, you can copy it into your Minecraft world and import it using a structure block. A couple resources you could use if you don't know how to do that are: The Minecraft Wiki article that explains how to find your Minecraft folder: https://minecraft.gamepedia.com/.minecraft This video about importing structures: https://scratch.mit.edu/discuss/youtube/L3_SdCek_Ps/
Uses some "hacked" blocks for making NBT string tags. I really just made this because I thought it would be fun to export Minecraft stuff from Scratch, so it's not really a fully-featured program. :-P I also have the scripts for gzip compression and base64 conversion in a standalone project: https://scratch.mit.edu/projects/206098651/ I've thought about doing stuff like this in the past, but I was inspired to actually make this by the projects @MCAnimator3D has made recently that work with file formats. And thanks to for suggesting that I give the file the right extension by putting it in an HTML link.