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. Can't able to load the raw file in Qml.
Qt 6.11 is out! See what's new in the release blog

Can't able to load the raw file in Qml.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 275 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.
  • A Offline
    A Offline
    Aravinth Ravi
    wrote on last edited by
    #1

    I'm trying to load the raw file in qml. But when I pass the image path as '.raw/.dcm' format, I'm getting a error like unsupported file format. I have tried to convert the raw file to png/jpg file. But I did'nt got any function for that file conversion.

    Provide me some solution to sort out this issue. Thanks in advance.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      From the top of my head, you would need to implement a custom image provider that creates a QImage from your raw files.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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