Adding frames to viewfinder
-
wrote on 3 Oct 2016, 06:53 last edited by
Hii.... I am new to qt. I want to develop an application where i am using QCamera to capture image. But the thing is i want to add some frames like .png or .jpg to it and then capture the new image with frames. And i want to do this in C++ Gui and not in QML. I have googled, but could'nt get the desired result. Anyone can help.. Thanks in advance
-
Hi,
What do you mean by "add frames" ? Show more frames ? Do some kind of overlay ?
-
wrote on 3 Oct 2016, 07:23 last edited by Praveen k 10 Mar 2016, 07:25
-
What kind of overlay do you have in mind ?
-
wrote on 3 Oct 2016, 08:57 last edited by
Transparent Overlay type..
Basically like this one Sample Image -
Does it have any use except the "cuteness" factor ? (e.g. save to file with overlay applied etc.)
-
wrote on 4 Oct 2016, 04:47 last edited by
Actually i just want to capture an image with frame and save it to local disk..
-
So save with the overlay applied ?
-
wrote on 5 Oct 2016, 08:23 last edited by
OK!!! I'll try and can you give me some reference or any example.
-
There are several possibilities to do what you want.
One of the simple is to put your overlay image in a transparent QLabel and position it over your QCameraViewfinder. Then when you want to save the image, you can compose a new image based on both the camera and the overlay.
1/11