OverviewFelgo 2 Support (Qt 5) › rotated APPIMAGE AUTOTRANSFORM not working

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


    Im having an issue selecting an image from the gallery, when it is show it appears rotated, as I have read adding the property ‘autotransform’ fix the problem, but this only works on some devices (like iphone) but on the android that I was given to test is not working, (Samsung S8), the photo is rotated, has someone figure out how to solve this problem?



    Rectangle {
        id: root
        signal photoClicked
        color: "transparent"
        width: dp(200)
        height: dp(150)
        property alias avatarpath: rdAvatar.source
        AppImage {
            id: rdAvatar
            source: "../../../assets/images/icons/man-avatar.png"
            anchors.centerIn: parent
            width: dp(125)
            height: rdAvatar.width
            fillMode: Image.PreserveAspectCrop
            autoTransform: true
            layer.enabled: true
            layer.effect: OpacityMask {
                maskSource: mask
        Rectangle {
            id: btnOpenCam
            color: "transparent"
            width: dp(25)
            height: btnOpenCam.width
            anchors.right: parent.right
            anchors.bottom: parent.bottom
            Image {
                id: photoIco
                anchors.fill: parent
                source: "../../../assets/images/icons/add_a_photo_black_48pt_1x.png"
            ColorOverlay {
                anchors.fill: photoIco
                source: photoIco
                color: "#fff"
            MouseArea {
                anchors.fill: parent
                onClicked: photoClicked()
                //onClicked: nativeUtils.displayImagePicker("")
        Rectangle {
            id: mask
            width: dp(100)
            height: dp(100)
            radius: dp(50)
            visible: false


    on my page I just call:

    Connections {
    target: nativeUtils
    onImagePickerFinished: {
    if (accepted){
    avatarContainer.avatarpath = path






    == UPDATE ==

    So I found out that this happens with some photos or images, not all of them are rotated, mainly the ones taken with the front camara are the ones that are being rotated, if I take a ‘selfie’ with the normal or back camara, and selected, there is no rotation. So…. is weird.

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support