« Mouse over | Main | »

November 19, 2009

I made a better darth tater collage than the last one, this one contains 22500 images based on about 4200 different colors -- all images are creative commons from flickr obtained using (http://labs.ideeinc.com/multicolr/).

Zoomed in a little. . .
darthtater-closeup.png

Here are some other ones
darthtater-11246x11248.png 151MB
darthtater-5623x5624.png 33.6MB
darthtater-2812x2812.png 9.6MB
darthtater-1406x1406.png 2.7MB
darthtater-703x703.png 800kB
darthtater-450x450.png 370kB

Here is the code to make this along with instructions on how to make one.
imageart.tar.gz
Basically here's how you do it.
  1. Run ImageArt.java on a image to create a text file containing all the colors of the pixels of an image. Each line is a comma-delimited string of the hex values of the colors.
  2. Run imageart -p on the resulting text file to spit out an array of colors, and copy this array into imageart.user.js.
  3. Copy some PHP files to a server where we can send requests from javascript.
  4. Go to http://labs.ideeinc.com/multicolr/ and the GM script will repeatedly load the colors in your image, grab all the image urls, and send them to the files on your server.
  5. Run imageart on the text file to generate html containing images for all the colors.
  6. Install the Save page as image Firefox addon, so you can save the generated HTML as an image.


Posted by jeff at November 19, 2009 05:57 PM