jpg library

does anyone know of a good library that allows an image to be saved as a jpg. I want to allow a user to take a screenshot in jpg form.

libjpeg

Google for it.

I just dicovered a real good one: glBMP (http://www.cfxweb.net/~delphigl/projects/glbmp.htm) that loads and saves onpenGL textures as BMP, TGA, PNG, JPEG. It even does screenshots of the openGL surface and allows you to save them…

It is freeware in c++ and Delphi, and doesnt require a dll (unless you want PNG in which case you need libpng.dll which is supplied).