Hello gurus,

could you please help me with my goal? I would like to compress the incoming raw image data (bitmap) from the usb camera in order not to stress the RAM memory. My first thought is then to use the JPEG compression. I have searched for a library or GDI function on the internet, which would offer it, but I have found only the way, where the raw image data is compressed by saving it into a .jpg file. I wish not to have it in a file, but in a memory buffer as compressed array of bits. Is it possible in general? If yes, how to do it? Thank you.

best regards,