That is not at all what I was expecting. I was thinking conversion of actual objects in the picture into blocks, i.e. like minecraft but with lego style blocks. Instead it looks like a bad impressionist style painting done on one of those flat lego pieces you use as the "ground" when making something with legos.
Now pull <a href="https://github.com/JuanPotato/Legofy/pull/19" rel="nofollow">https://github.com/JuanPotato/Legofy/pull/19</a> and write code to automatically put an order in for the needed bricks on lego.com to recreate the digital images as real life lego pictures :-)
Seeing "Legos" on the Internet has always annoyed me, even though it must be a decade and a half since I last even touched any LEGO bricks. Apparently the company doesn't want them called "Legos" either.[0]<p>[0]<a href="https://twitter.com/LEGO_Group/status/502086477652959232" rel="nofollow">https://twitter.com/LEGO_Group/status/502086477652959232</a><p>Edit, further interesting discussion <a href="http://english.stackexchange.com/questions/10839/legos-not-lego" rel="nofollow">http://english.stackexchange.com/questions/10839/legos-not-l...</a>
It may be a good moment to introduce you to Hexagonator (<a href="http://josetomastocino.github.io/hexagonator/" rel="nofollow">http://josetomastocino.github.io/hexagonator/</a>), a simple experiment to turn images to hexagon-tiled compositions, within your browser!
Kudos to writing the converter - good exercise.<p>FYI, there are numerous such tools available on the web: <a href="https://www.google.com/search?q=picture+to+lego+converter" rel="nofollow">https://www.google.com/search?q=picture+to+lego+converter</a>
Does PIL use a linear colorspace for downscaling? I coudn't find it in their documentation. My intuition says that your sample image would look much better if it was downscaled in a linear colorspace, especially because of the thin bright lines disappear in the legofied image.<p>I recommend imageworsener for downscaling, its homepage links to many good articles about this topic too. AFAIK imagemagick can be tamed to use linear colorspace for downscaling, but it doesn't do it by default.<p><a href="http://entropymine.com/imageworsener/" rel="nofollow">http://entropymine.com/imageworsener/</a>
Nifty! There's an Android App which does much the same thing - <a href="https://play.google.com/store/apps/details?id=com.pixel.camera" rel="nofollow">https://play.google.com/store/apps/details?id=com.pixel.came...</a> - also also you to convert GIFs.
Needs an option for "lego resolution/scaling", i.e. 1x1 vs 2x2 vs 4x4 blocks per output pixel. For times when I want to make a more detailed (hence physically bigger) Legopic from, well, a pic.
I would like to create a similar program that uses simultaneous photograph and depth sensor data (e.g. from a Tango device, or Google Camera app) to make a 3D version.
if a line of blocks are all close to the same color, should erase the divisions (draw 1*X blocks)<p>like this it just seems like a simple imagemagick script