Hi,
we have an issue with the loading of an png.
If you load the image in the attachments (source.png) in the liveclient this image is with transparency (liveclientpc.png)on the phone its not (android phone.jpeg).
If we send this image with HttpImageUtils this problem keeps.
I created a little example to test it:
import Felgo 3.0
import QtQuick 2.0
App {
NavigationStack {
Page {
title: qsTr("Bug load png")
Rectangle {
color: "#ff0000"
width: myImage.width
height: myImage.height
}
AppImage {
id: myImage
fillMode: Image.PreserveAspectFit
}
AppButton{
id: logoButton
text: "Bild selektieren"
flat: false
onClicked: nativeUtils.displayImagePicker("logo")
}
Connections {
target: nativeUtils
onImagePickerFinished: {
if(accepted) myImage.source = path
}
}
}
}
}
What do I wrong? Is this a Felgo Bug? If it is a Felgo bug please send me offer. We need this fixed for HttpImageUtils as soon as possible.
Thank you.
https://i.ibb.co/hMYYRDr/source.png
https://i.ibb.co/n3G3V8K/liveclientpc.png
https://i.ibb.co/bH5K2d1/android-phone.jpg
Sourceimage created with gimp.