Convert IplImage into a JPEG without using CvSaveImage in OpenCV

Posted by Abhishek Mishra on Stack Overflow See other posts from Stack Overflow or by Abhishek Mishra
Published on 2009-03-30T15:56:08Z Indexed on 2010/03/25 5:03 UTC
Read the original article Hit count: 602

Filed under:
|
|

I wish to convert an IplImage into a JPEG image in the memory (in order to stream it as M-JPEG frame over sockets) . I know I can use CvSaveImage for this, that creates a jpeg file, I read it again and then stream it over the network. I wish to avoid this extra disk write-read ops for faster operation. Any insights ?

© Stack Overflow or respective owner

Related posts about image-processing

Related posts about opencv