View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002117 | Scribus | Internal | public | 2005-06-23 16:10 | 2010-01-18 15:15 |
Reporter | Assigned To | ||||
Priority | low | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | x86 Linux | OS | Fedora Core | OS Version | 3 |
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. | ||||
Patch | |||||
child of | 0004413 | acknowledged | Metabug: Colors |
|
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. |
|
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; } |
|
So, any news on this? :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-06-23 16:10 |
|
New Issue | |
2005-06-23 16:10 |
|
Status | new => acknowledged |
2005-06-23 16:13 |
|
Note Added: 0005102 | |
2005-06-25 18:15 | cbradney | Note Added: 0005125 | |
2005-06-25 18:16 | cbradney | Note Edited: 0005125 | |
2005-06-25 18:16 | cbradney | Note Edited: 0005125 | |
2005-06-25 18:17 | cbradney | Note Edited: 0005125 | |
2006-10-15 12:19 | mhanski | Relationship added | child of 0004413 |
2010-01-18 15:15 | alexandre | Note Added: 0023100 |