Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QImage colour depth for reading images
Qt 6.11 is out! See what's new in the release blog

QImage colour depth for reading images

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 477 Views 3 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by Perdrix
    #1

    I notice that QImage in Qt6 now supports RGBA64 and friends. Does that mean that it will now read a 16-bit per channel PNG? Are there any other formats for which 16-bit per channel is supported?

    Is there any mechanism in Qt to get at image metadata (in particular EXIF data which is held in jpeg and png files (since png 1.5).

    Thank you, David

    Christian EhrlicherC 1 Reply Last reply
    0
    • PerdrixP Perdrix

      I notice that QImage in Qt6 now supports RGBA64 and friends. Does that mean that it will now read a 16-bit per channel PNG? Are there any other formats for which 16-bit per channel is supported?

      Is there any mechanism in Qt to get at image metadata (in particular EXIF data which is held in jpeg and png files (since png 1.5).

      Thank you, David

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Since Qt is open source you can simply look at the sources: https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/image/qpnghandler.cpp

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Kent-DorfmanK 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        Since Qt is open source you can simply look at the sources: https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/image/qpnghandler.cpp

        Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by
        #3

        @Christian-Ehrlicher

        and a quick experiemtnal proof-of-concept program is worth more than an answer on a forum.

        The dystopian literature that served as a warning in my youth has become an instruction manual in my elder years.

        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