Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: smart invert where black and white are reversed but colors stay mostly the same. #2

Open
draperjames opened this issue Jan 3, 2018 · 7 comments

Comments

@draperjames
Copy link

Hello, first thanks for your work developing and maintaining xcalib.

When I have to use Windows I use NegativeScreen to invert the colors. One feature that I really enjoy is smart invert which they describe as such:

Different inversion modes are provided, including “smart” modes, allowing blacks and whites inversion, while keeping colors (about) the sames.

The feature really shines when browsing the web. It looks closer towards a true universal dark theme than anything else I've seen. For example here is the duckduckgo homepage:

capture

From a linux system if you look at the the same page after applying xcalib -invert -alter the logo appears to be more bluish and has a less native feel to it. This effect, of course, carries over to the rest of the web and whatever UI is in use.

I was wondering how difficult would it be to create either a smart invert function and/or an icc profile for xcalib?

The inversion matrices can be found here.

I'd appreciate hearing any thoughts you have on this subject.

Thanks again!

@beku
Copy link
Member

beku commented Jan 10, 2018

I guess matrix handling is out of scope for xcalib. Xcalib works on single channel curves and is not crossing channels like matrices do.

However I keep this request open, as it might be possible to create a ICC effect profile for the desired effect and select that in Synnefo / Oyranos / CompICC.

@baongoc124
Copy link

baongoc124 commented Feb 8, 2018

@draperjames Smart inversion can be achieved using compton with method described in this repo https://github.com/vn971/linux-color-inversion . I'm not sure how it looks compared to NegativeScreen on Windows so could you try and give some thought?

@draperjames
Copy link
Author

@baongoc124 thanks for the tip I'll look into it.

@beku
Copy link
Member

beku commented Feb 25, 2018

Below are two taskbar screenshots. One comes with a CIE*L invert ICC effect profile, white point setting to ~3000Kelvin and the ICC VCGT calibration applied in CompICC. The other screenshot is shown without any color server effects.

screenshot_20180225_211228screenshot_20180225_211035

@log69
Copy link

log69 commented Nov 21, 2018

Hi, I'd more than welcome this feature as well, been looking all over the net for something like this. BTW great work for xcalib, thanks.

Wouldn't a simple RGB shift be possible? That could work like a 180 degree shift in hue (in HSL format). As simple as replacing values. I could offer money for this work. Would you be open to kindly look into the matter? Replacing values might need only small change in the code.

Thanks a lot.

@beku
Copy link
Member

beku commented Feb 6, 2019

@log69 In a 1D calibration world, the one xcalib works in, it is not possible doing 3D changes on colors, like you want with a 180° HSL space manipulation. A 3D color transform is needed like available in compositors, which deploy 3D_Texture on GPU hardware.

@log69
Copy link

log69 commented Feb 6, 2019

ok thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants