Sephirith, your sounding crazy. Why are you trying to do this ? There's almost certainly a better way of doing it. Instead of describing the process you want to take, what is the desired outcome. I mean nobody needs a 25K image made up of squares so whats it all about.