__  __             _      _     __  __                 _      
 |  \/  |           (_)    | |   |  \/  |               (_)     
 | \  / | __ _  __ _ _  ___| | __| \  / | ___  ___  __ _ _  ___ 
 | |\/| |/ _` |/ _` | |/ __| |/ /| |\/| |/ _ \/ __|/ _` | |/ __|
 | |  | | (_| | (_| | | (__|   < | |  | | (_) \__ \ (_| | | (__ 
 |_|  |_|\__,_|\__, |_|\___|_|\_\|_|  |_|\___/|___/\__,_|_|\___|
                __/ |                                           
               |___/                                            

Create a variety of mosaic images by POSTing to this address, in Ruby you would do it like this...

#!/usr/bin/ruby
require "rubygems"
require "uri"
require "net/http"
require "json"

params = {
  "images" => %w{
    http://www.bugattipic.com/bugatti/car/pictures/2010/03/bugatti-veyron18.jpg
    http://www.bugattipic.com/bugatti/car/pictures/2010/03/bugatti-veyron-red-011.jpg
    http://www.bugattipic.com/bugatti/car/pictures/2010/03/veyron-smash01-1-100206678-l.jpg
    http://www.bugattipic.com/bugatti/car/pictures/2010/03/bugatti-veyron19.jpg },
    "mosaic-type" => "polaroid-spread",
    "scale-to-height" => 480,
    "scale-to-width" => 640
  }

uri = URI.parse("http://magickmosaic.heroku.com/")

http = Net::HTTP.new(uri.host, uri.port)
x = http.request_post(uri.path, "params=#{params.to_json}", { 'Accept' => 'image/png' })

File.open('out.png', 'w') {|f| f.write(x.body) }

and here is the output!

This is something I knocked up just to play with Heroku but I plan to expand it a little, the mosaic-type parameter doesn't do anything but I am going to add to the different effects etc.. enjoy!