525 questions
591 answers
651 comments
700,813 users
I found the answer to this one as well.
You simply need to add the quality value (1-100) in the outframe command as follows:
outframe.sendCvBGR(outimg,50)
50 is the quality value.