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

Forums

OverviewFelgo 2 Support (Qt 5) › Loading PNG transparency behaviour

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24511

    nks (baumemo)

    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.

Viewing 1 post (of 1 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