I'd like to find a JPEG-writing library that can be statically linked (so there are no DLL dependencies). No JPEG-reading ability is required.
Edit: I got LibGD working, but it had one problem described here:
http://stackoverflow.com/questions/2307965/libgd-library-is-not-working-crash-when-saving-image