Adding frames to viewfinder
-
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 ?
-
What kind of overlay do you have in mind ?
-
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.)
-
So save with the overlay applied ?
-
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.