Adobe ImageReady is the typical tool used for this, although it has been discontinued and its functionality has been folded into Photoshop. If you're looking for a simple, free alternative, I've used GIFfun in the past. It's old, but should still work.