diff --git a/qml/CollageMenu.qml b/qml/CollageMenu.qml index 17b1e91..e7aa90a 100644 --- a/qml/CollageMenu.qml +++ b/qml/CollageMenu.qml @@ -13,8 +13,8 @@ CollageMenuForm { signal exit printButton.enabled: printer ? !printer.busy : false - property real printerHeight : form.collageImage.imageModel ? form.collageImage.imageModel.collagePixelSize.height : 3 - property real printerWidth : form.collageImage.imageModel ? form.collageImage.imageModel.collagePixelSize.width : 4 + property real printerHeight : form.collageImage.imageModel ? form.collageImage.imageModel.collagePixelSize.height : 0 + property real printerWidth : form.collageImage.imageModel ? form.collageImage.imageModel.collagePixelSize.width : 0 printerRatio: printerHeight / printerWidth nextButton.onClicked: diff --git a/qml/content/CollageRenderer.qml b/qml/content/CollageRenderer.qml index 9918a3b..e15d4dd 100644 --- a/qml/content/CollageRenderer.qml +++ b/qml/content/CollageRenderer.qml @@ -167,7 +167,7 @@ Item { console.log("Image grabbed successfully"); var success = result.saveToFile(filename, Qt.size(backgroundRect.width, backgroundRect.height)); if (success) { - console.log("Image saved successfully to " + filename); + console.log("Image saved successfully to " + filename + " with width: " + Number(background.width).toString() + " - height: " + Number(background.height).toString()); savedFilename = filename; } else { console.log("Failed to save image to " + filename);