Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I know there are plenty of online tools which let's you upload your images there and it generates the appropriate CSS/sprite(s) to be used with them on your page.

Is there any such website/tool which would take a website URL and parse from its DOM the images/css and calculate the sprites/css to be used specifically with that DOM, so you could just copy & replace your own CSS with the one provided by the tool?

I know the complexity of such calculations, but it certainly sounds like something that can be done, so my question is, is there something ready and available already?

share|improve this question
    
I'd be surprised if there is. I'd be doubly surprised if it were free like the current sprite generators are. –  John Conde Jun 18 '11 at 20:31
    
@John Conde For static pages (without JS), it certainly doesn't sound like an impossibility. Even for dynamic elements, with a little user input, I'm sure you could create sprites for them. Just don't want to waste my time if there is something ready and usable already. –  Niklas Jun 18 '11 at 20:37

1 Answer 1

SpriteMe is probably closest to what you're describing.

You might also want to look at SmartSprites, which takes a different approach, more along the lines of CSS preprocessors like Sass, so it's actually integrated into your development rather than being done after the fact.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.