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