colorFilter not working[Unsolved], how use camera flash on android?[Solved]
-
i try to add some Button to Qt 5.7 example, declarative-camera . . .
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.htmlCameraButton { text: "Negative" onClicked: captureControls.camera.imageProcessing.setColorFilter(CameraImageProcessing.ColorFilterNegative) } CameraButton { text: "Tungsten" onClicked: captureControls.camera.imageProcessing.setWhiteBalanceMode(CameraImageProcessing.WhiteBalanceTungsten) } CameraButton { text: "contrast" onClicked: captureControls.camera.imageProcessing.setContrast(1.0) }-
"Tungsten" Button work but "contrast" and "Negative" not working. how i can fix it?
-
declarative camera example has flash image included below but this example not use camera flash, why?
multimedia/declarative-camera/images/


-
-
i try to add some Button to Qt 5.7 example, declarative-camera . . .
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.htmlCameraButton { text: "Negative" onClicked: captureControls.camera.imageProcessing.setColorFilter(CameraImageProcessing.ColorFilterNegative) } CameraButton { text: "Tungsten" onClicked: captureControls.camera.imageProcessing.setWhiteBalanceMode(CameraImageProcessing.WhiteBalanceTungsten) } CameraButton { text: "contrast" onClicked: captureControls.camera.imageProcessing.setContrast(1.0) }-
"Tungsten" Button work but "contrast" and "Negative" not working. how i can fix it?
-
declarative camera example has flash image included below but this example not use camera flash, why?
multimedia/declarative-camera/images/


@aqamorisny
not use camera flash? what is your meanings? Did you set the camera mode in your code. turn on flash should use "camera.flash.mode = Camera.FlashVideoLight" -
-
many thanks for your reply
turn on flash should use "camera.flash.mode = Camera.FlashVideoLight"i test it , works! and now i can turn on and off flash.
not use camera flash? what is your meanings?
my mean: preview of the example has flash button But you can't find any line of code that included "flash" word in this example :
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.htmlwhen you run the example on android phone have flash you can't see flash button!
Did you set the camera mode in your code.i run Qt Example and only edit this file, how to setup?
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-photocapturecontrols-qml.html -
@aqamorisny
not use camera flash? what is your meanings? Did you set the camera mode in your code. turn on flash should use "camera.flash.mode = Camera.FlashVideoLight"how i can set color filter, i want to use filters in my application:
https://github.com/aqamorisny/scanqt/ -
many thanks for your reply
turn on flash should use "camera.flash.mode = Camera.FlashVideoLight"i test it , works! and now i can turn on and off flash.
not use camera flash? what is your meanings?
my mean: preview of the example has flash button But you can't find any line of code that included "flash" word in this example :
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.htmlwhen you run the example on android phone have flash you can't see flash button!
Did you set the camera mode in your code.i run Qt Example and only edit this file, how to setup?
http://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-photocapturecontrols-qml.html@aqamorisny
this example did not use the flash.