[Maybe OT] From BYTE to JPG

Maybe it’s OT, i need a little suggestion, i take a picture of an openGL context and i have and array of BYTE, do you know a library that, taken a pointer to BYTE, create, in memory, a JPG image? My purpose is to take a screen capture and send it to another OGL application via web.
Thank you

OpenIL could probably do it. Perhaps FreeImage too?

Yeah this is OT but meh whatever. :smiley:

-SirKnight