Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62788

Camera Image Processing ColorFilters does not work on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.9.0
    • Multimedia
    • None
    • Android

    Description

      im working on a android camera app using qt qml c++

      issue bring up in the forum:

      https://forum.qt.io/topic/82585
      https://forum.qt.io/topic/75923
       

       
      I try to add some feature to Qt 5.9 example, declarative-camera . . .
      https://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.html

      so i added below code to this file
      https://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-photocapturecontrols-qml.html

      //this button works well.
      CameraButton {
         text: "Tungsten"
         onClicked:captureControls.camera.imageProcessing.setWhiteBalanceMode(CameraImageProcessing.WhiteBalanceTungsten) }
      
      //this button is not work!
      CameraButton {
         text: "Negative"
         onClicked:captureControls.camera.imageProcessing.setColorFilter(CameraImageProcessing.ColorFilterNegative) }

       

      the code tested on:

      Android 7.0.0 > LG G5

      Android 5.0.2 > Asus Zenpad C7.0

      Android 4.3.0 > Emulator

      Android 4.2.1 > GLX G5

       

      kit: Android for armeabi-v7a GCC 4.9, Qt 5.7.1 for Android

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            aqamorisny aqamorisny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes