Turos Laszlo wrote:
Hi
I have installed the The Independent JPEG Group's JPEG library to my
linux to use it for compressing captured video to JPEG format.
Version:release 6b of 26-Mar-1998
It seems to me that it has this function jpeg_stdio_dest which takes a
FILE* pointer as argument for selecting destination.
My problem is that I don't want to use a file as a destination for the
compressed image.
Is it possible to set somehow a buffer for the JPEG compressor to use it
instead a FILE* stream?
Or do I have an old library?
Anybody knows if there is a newest JPEG library which I don't know?
You'll have to provide a new destination manager, see
http://www.the-labs.com/JPEG/libjpeg.html for more info
Luc