How to generate waveform graphics from audio files?

Is there anyway to quickly generate jpgs or gifs of a sound’s wavefore from wav or MP3 files?

I could of course take screen captures of waveforms out of Flash itself or Audacity or some other such software, but that seems pretty time consuming if you have to do a lot of them.