Epeg is a library which provides facilities for scaling JPEG images very quickly.