Production of Web-ready images is generally done in photoshop (with ImageReady), Fireworks, or relatively low cost image editing applications such as Paint Shop Pro (window only). All provide some form of preview to help find the right trade-off between high compression with reduced quality and low compression with large file size.