Last week, I got the idea to upload a CSS Sprite image and have ColdFusion scan the image in order to calculate the coordinates and dimensions of individual sprites contained within the image. And, about five attempts later, I had nothing! What I had assumed would be a rather simple task turned into a complex task, fraught with stack overflows, extreme recursion, and hundreds of thousands of operations. Finally, yesterday, I came up with something that worked. It's probably not efficient - but it seems to find all the shapes that I throw at it.