Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › Scale down image size "onCameraPickerFinished"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22404

    nks (baumemo)
    import Felgo 3.0
    import QtQuick 2.12
    import QtMultimedia 5.12
    
    
    Page {
        id: currentPage
        title: qsTr("Camera")
        Component.onCompleted: {
            nativeUtils.displayCameraPicker("take picture")
        }
    
    
        Connections {
            target: nativeUtils
            onCameraPickerFinished: {
                if(accepted)
                {
                    console.log("TODO: RESIZE(path) IMAGE HERE");
                    logic.storeImage(path);
                }
                currentPage.navigationStack.pop();
            }
        }
    }
    
    
    
    Hi,
    is there a qml way of scaling images down on onCameraPickerFinished ?
    
    
    best regards
    
    
    #22408

    Alex
    Felgo Team
Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded