Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Camera in portrait mode
Forum Updated to NodeBB v4.3 + New Features

QML Camera in portrait mode

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hoanghua
    wrote on last edited by
    #1

    Hi,

    In my application, I need to display Camera element in portrait to take portrait picture; however, seems that camera's viewfinder prefers landscape more which make it look strange. I've tried to rotate the element so that it look OK. But at the end, when image is captured, it's different from what I saw in the viewfinder.

    Is there any way that I can use the Camera element in Portrait mode which will capture picture also in Portrait mode as I see in the viewfinder

    Thanks,

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hoanghua
      wrote on last edited by
      #2

      Anyone can provide any help. Thanks.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #3

        Please be patient. If someone has information to share, they will. If you feel the need to bump the topic, please wait at least a day or two.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          billouparis
          wrote on last edited by
          #4

          Are you talking about Qt3D? If so did you already send this question to the Qt3D mailing list, or on the irc channel?
          Bill

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hoanghua
            wrote on last edited by
            #5

            Hi,

            I'm talking about the usage normal QML Camera element for capturing image. Anyway, I've found some (probably working around) ways to make it work. Currently, I've managed to achieve this with either 1) use Camera element in a landscape Page or 2) rotate the viewfinder 90 degree CCW. However, any of these 2 ways will need to use Qt C++ to rotate the captured image later on so that post-processed image looks similar with the one seeing in the view finder.

            Thannks

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved