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. Displaying image

Displaying image

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 837 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.
  • M Offline
    M Offline
    mageshs
    wrote on last edited by
    #1

    I am having an image in "binary"(combination of hex codes) format.

    This binary format of the image is stored in unsigned char* variable.

    I would like to display this particular image using QT.

    Is the unsigned char* to QImage conversion is possible?

    If not, what should i have to do to acheive this?
    Please provide solution guyz...

    Thankz in Advance!!!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Yes it is "possible":http://qt-project.org/doc/qt-5/qimage.html#QImage-5

      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