[Interest] CaptureStillImage to buffer

Alexander CarĂ´t alexander_carot at gmx.net
Wed Jan 13 08:22:23 CET 2021


Hello all,

I have a custom video streaming component for which I need to individually capture, modify and then send each captured image. Therefore, I am using QCamera::CaptureStillImage.

This is working fine except that so far (2 years ago) Qt only allowed still images being captured to file and not memory. Therefore, I have to additionally delete the captured file after every capture:

connect(imageCapture, &QCameraImageCapture::imageCaptured, this,
     &soundjack::processImage);
connect(imageCapture, &QCameraImageCapture::imageSaved, this,
     &soundjack::deleteImage);

Now I wonder if in the meantime Qt is probably offering a different way of capturing still images to memory rather than file because I want to get rid of this additional overhead.

Thanks a lot in advance,
best

Alex


--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797



More information about the Interest mailing list