I need to do some work with this library and I'm finding the documentation at http://apodeline.free.fr/DOC/libjpeg/libjpeg.html to be deficient (incomplete function signatures, etc). Does anyone know of some other sides or have some example code illustrating common tasks?
[Edit] I also found this question with an example, but any others would be helpful.
I don't know what you're using, but we use the C++ wrapper at Smaller Animals Software, and we're happy with it. If nothing else, it might work as example code.
Try using libjpeg library. Example how to use it is in this blog.