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. QSG - Using sRGB ICC profile instead of system ICC profile?
Forum Updated to NodeBB v4.3 + New Features

QSG - Using sRGB ICC profile instead of system ICC profile?

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

    Our app uses Rhi/Dx11 QSGImageNode to render images on screen. We're on 6.4.1.

    We are converting a QImage with assigned sRGB profile to the native texture with window()->createTextureFromImage(image, QQuickWindow::TextureCanUseAtlas);

    We also set the default surface format to use sRGB color space before initializing the rendering backend, which resolved our issue on the Mac.

    On Windows however, Rhi (no matter which API) seems to be injecting current Display system ICC profile into the mix, which causes a difference between our viewport and what we can see for example by opening the same image in Windows Photos. When we switch Display ICC profile in the Windows Color Management to sRBG, the difference immediately disappears, but this is not a solution for us.

    I can also replicate the same effect when I change the working space in Photoshop from sRGB to Display ICC profile, so it would suggest that this is also what's happening in our Qt app.

    Is there a way to force the app to use sRGB profile instead of system Display profile for overall display?

    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