Are there any good tools to make css sprites?
IDEALLY I'd want to give it a directory of images and an existing .css file that refers to those images and have it create a big image optimized with all the little images AND change my .css file to refer to those images.
At the least I'd want it to take a directory of images and generate a big sprite and the .css necessary to use each as a background.
Are there any good photoshop plugins or fully blown apps to do this?
This will do 90% of the work for you: http://spritegen.website-performance.org/. You'll still need to edit the rules yourself, but the tool will give you the code fragments you need for the new CSS file.
There is now Sprite Me by Steve Souders. Just tries it out and it seems to work pretty well.
Here is the link http://spriteme.org/ and here is the blog post announcing it.
http://www.stevesouders.com/blog/2009/09/14/spriteme/
found this one pretty fast tho that 500K upload limit might be a pain. source code is available here
There is a new tool out there called ActiveSprites, part of the active_assets gem.
Github: http://bitly.com/eRTwU4
You use a ruby dsl to define your sprites and then do "rake sprites" and the sprites and corresponding stylesheets get generated.
It's rad!
Here's some sample code,
Try this:
http://spritepad.wearekiss.com/
I suggest you to use Sprite Master Web. I generates sprite sheets automatically and exports CSS code for you. It always tries to generate smallest sprite sheets with advanced algorithms.
Here is a screenshot and youtube video