Results 1 to 2 of 2

Thread: Get (main) display color profile

  1. #1
    Join Date
    Jan 2020
    Beans
    2

    Get (main) display color profile

    I'm working on a color managed application and in order to display colors correctly, I need to know which color profile is used by the (main) display.
    I've found out that the icc profiles are stored in ~/.local/share/icc but I currently have no idea which of those files I need to use (there's more than one on my machine).
    Does anyone know how to go about this? Preferable in C/C++ but command line would be fine as well.

  2. #2
    Join Date
    Jan 2020
    Beans
    2

    Re: Get (main) display color profile

    I managed to find a solution: using libcolord, I can list the devices, get the default profile for a device and then get the filename for that profile.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •