![]() |
|
![]() |
![]() |
|
||
| · Hosting provided by Anduin.net / Øverby Consulting · | ||||||
| Anonymous | Login | Signup for a new account | 2013-05-25 05:06 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0002117 | Scribus | Internal | public | 05-Jun-23 18:10 | 10-Jan-18 16:15 | ||||||||
| Reporter | ringerc | ||||||||||||
| Assigned To | |||||||||||||
| Priority | low | Severity | feature | Reproducibility | always | ||||||||
| Status | acknowledged | Resolution | open | ||||||||||
| Platform | x86 Linux | OS | Fedora Core | OS Version | 3 | ||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0002117: Support reading display profile using XICC | ||||||||||||
| Description | With the proposed XICC scheme, a colour profile for a display can be set on the display as an atom. Support reading this and offering it as an option in the profile selection list (named "System Display Profile" or something), probably the default until/unless the user chooses something else. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0005102) ringerc (administrator) 05-Jun-23 18:13 |
See http://www.burtonini.com/blog//computers/eog-icc-2005-06-16-09-57 [^] and openicc discussion. Anybody who has it, please post more info here. |
|
(0005125) cbradney (administrator) 05-Jun-25 20:15 edited on: 05-Jun-25 20:17 |
Code pasted to OpenICC mailing list, from Krita:
#ifdef QT_WS_X11
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <lcms.h>
#endif
static KisProfileSP KisProfile::getScreenProfile (int screen)
{
#ifdef QT_WS_X11
Display *dpy;
Atom icc_atom, type;
int format;
long nitems;
long bytes_after;
unsigned char *str;
int result;
cmsHPROFILE *profile = NULL;
static Atom icc_atom = XInternAtom( qt_xdisplay(), "_ICC_PROFILE", False );
if ( XGetWindowProperty ( qt_xdisplay(), qt_xrootwin( screen ), icc_atom, 0, INT_MAX, False,
XA_CARDINAL, &type, &format, &nitems, &bytes_after, (unsigned char **)&str)) {
if( nitems )
profile = cmsOpenProfileFromMem(str, nitems);
XFree (str);
return new KisProfile(profile);
} else {
kdDebug() << "No profile, not correcting" << endl;
return NULL;
}
#else
return NULL;
#endif;
}
|
|
(0023100) alexandre (developer) 10-Jan-18 16:15 |
So, any news on this? :) |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 05-Jun-23 18:10 | ringerc | New Issue | |
| 05-Jun-23 18:10 | ringerc | Status | new => acknowledged |
| 05-Jun-23 18:13 | ringerc | Note Added: 0005102 | |
| 05-Jun-25 20:15 | cbradney | Note Added: 0005125 | |
| 05-Jun-25 20:16 | cbradney | Note Edited: 0005125 | |
| 05-Jun-25 20:16 | cbradney | Note Edited: 0005125 | |
| 05-Jun-25 20:17 | cbradney | Note Edited: 0005125 | |
| 05-Dec-28 00:10 | plinnell | Relationship added | child of 0002887 |
| 06-Oct-15 14:19 | mhanski | Relationship added | child of 0004413 |
| 10-Jan-18 16:15 | alexandre | Note Added: 0023100 | |
| Main | My View | View Issues | Change Log | Roadmap |
| Copyright © 2000 - 2013 MantisBT Team |