JPG Optimiser. Provides an API. Simple Quick and Fast!
PNG Crush. Free! Provides an API. Simple Quick and Fast.