Tranquility icon indicating copy to clipboard operation
Tranquility copied to clipboard

Invert hue option.. Can it be brought back?

Open jccr opened this issue 10 years ago • 86 comments

Nocturne used to have this feature that not only inverted the screen, but it also let you invert the color hues. For those that didn't know about this: Blue colors became orange colors when the screen was inverted, but with the invert hue option everything stayed dark but orange became blue again for example.

Can this feature be implemented again for 10.9?

Bountysource

jccr avatar Mar 12 '14 16:03 jccr

Please bring this option back - Hue inversion was the reason I'd used this application extensively.

amitmarkel avatar Jul 17 '14 10:07 amitmarkel

A big +1 here as well. That is exceptionally necessary for this app as I prefer to see colors as they originally were -- or as close to them as possible vs what we presently have.

ylluminate avatar Aug 05 '14 20:08 ylluminate

I hope I'm not hijacking this thread to a different area, but I as well have been in pursuit to bring back the invert hue option. There was some talk of this on the blacktree-nocturne forum here There was some speculation that "hue inversion was relying on a private API that may have changed."

If anybody has any ideas please share!

ejwessel avatar Oct 22 '14 02:10 ejwessel

Yes, I think I'd seen that. That feature was very important to me, so now I don't have real use for this program (yet). I wonder why Apple did not incorporate a similar option.

On Oct 22, 2014, at 5:43, ejwessel [email protected] wrote:

I hope I'm not hijacking this thread to a different area, but I as well have been in pursuit to bring back the invert hue option. There was some talk of this on the blacktree-nocturne forum here https://code.google.com/p/blacktree-nocturne/issues/detail?id=63 There was some speculation that "hue inversion was relying on a private API that may have changed."

If anybody has any ideas please share!

— Reply to this email directly or view it on GitHub https://github.com/lswank/Tranquility/issues/9#issuecomment-60029152.

amitmarkel avatar Oct 22 '14 05:10 amitmarkel

I've done some research and I believe we might be able to achieve a similar effect with a highly customized ICC display profile. One that inverts the white point and black point and messes with the gamma levels. I have no idea as to how to actually create this profile, and have not found any "ICC profile editing" tool that specialized yet.

jccr avatar Oct 22 '14 05:10 jccr

Interesting, never thought about that direction. I think I encountered such an editor on the internet a few years ago; so it might be worth a search.

amitmarkel avatar Oct 22 '14 05:10 amitmarkel

Perhaps one can attempt to edit their default/retina display profile at /Library/ColorSync/Profiles/Displays with the builtin property editor.

amitmarkel avatar Oct 22 '14 05:10 amitmarkel

:+1: Very good suggestion. It would be an enormous asset for this to have such a feature.

ylluminate avatar Oct 23 '14 04:10 ylluminate

+:100: Hue inversion is the ~~main~~ only real reason to use ~~Nocturne~~ Tranquility. I will pay for this feature.

jbenet avatar Oct 29 '14 11:10 jbenet

I just set a $50 on bountysource, because i want my greens to stay $@%&ing green. https://www.bountysource.com/issues/3167101-invert-hue-option-can-it-be-brought-back I recommend others who care about this issue to back it too. Whoever fixes this will deserve it, and it may get it to us ~~sooner~~ at all. (cc @kzsh - if you fix it on the original repo, i'll pay it there)

Hurry, Obi Wan Kenobi. You're my only hope. My computer now feels horribly unfamiliar and hostile.

jbenet avatar Oct 29 '14 12:10 jbenet

I spent some time looking into this for Nocturne. I agree with @JCCR that one solution would be a custom ICC profile, though, like him, I don't know how to do that. It's also possible that there's a filter we could use.

kzsh avatar Oct 30 '14 14:10 kzsh

@JCCR @kzsh can we figure something out together? Do we know anyone who knows ICC profiles?

jbenet avatar Oct 31 '14 00:10 jbenet

http://apple.stackexchange.com/questions/8374/white-on-black-without-inverting-colors?rq=1

jbenet avatar Oct 31 '14 02:10 jbenet

That is a very interesting find there @jbenet. Any luck playing around with these two options?

ylluminate avatar Nov 05 '14 14:11 ylluminate

@ylluminate not yet :( -- i dont have the bandwdith to sink into and figure out how to edit / make ICC profiles.

jbenet avatar Nov 05 '14 15:11 jbenet

A filter which does inversion and hue inversion is easy to do, but it cannot be applied to a color profile I think.

amitmarkel avatar Nov 05 '14 15:11 amitmarkel

I've been watching videos and reading a bit about how ICC profiles work and can be edited. I do have to say they aren't trivial(like the link above this mentions). Given that I'm no color expert and I'm assuming nobody else here is, I was entertaining the idea of purchasing, or better yet using, an ICC profile generator. Though that wouldn't solve the problem of how to get what we want it might be a step closer. Thats all I have for now. I'm going to go back to reading.

http://www.color.org/opensource.xalter

ejwessel avatar Nov 06 '14 07:11 ejwessel

@ejwessel have you found a good ICC generator?

We should find someone who knows ICC profiles well. Anyone have any leads?

jbenet avatar Nov 06 '14 07:11 jbenet

I haven't tried any of the open source ones yet. No leads yet either =/ I do plan to start messing around with them this weekend, but we'll see what my schedule allows for =P

ejwessel avatar Nov 07 '14 05:11 ejwessel

I have managed to edit the standard Color LCD profile's tristimulus values with a hex editor. I think we need to understand how to rotate the projective coordinates values so that either lightness is inverted or the hue values are rotated so that inversion inverts it back.

amitmarkel avatar Nov 07 '14 09:11 amitmarkel

I almost got it right.

I altered the Color LCD profile as I described here https://dl.dropboxusercontent.com/u/6674137/ICC%20Modification.pdf.

https://dl.dropboxusercontent.com/u/6674137/ICC-img.jpg

amitmarkel avatar Nov 07 '14 18:11 amitmarkel

@amitmarkel Thanks for looking into the color profiles. This is great stuff ~~but may I ask as to why you removed the links to your icc profile and document? I was looking forward to trying out your modified profile..~~

jccr avatar Nov 07 '14 22:11 jccr

I edited the document. The colors' hue values are accurately inverted, but something is wrong with the grays. I suspect that the "Apple display native information > Phosphor values" section might be related somehow. I use the Skype icon for observation.

amitmarkel avatar Nov 07 '14 22:11 amitmarkel

Oh that's cool. Looking at your screenshot, wow looks like you are getting close.

jccr avatar Nov 07 '14 22:11 jccr

Here is the profile https://dl.dropboxusercontent.com/u/6674137/Invert%20Hue.icc.

Hopefully someone can resolve the remaining little problem with lightness (I assume). Although the problem doesn't seem to be great, it does affect user experience; it makes the OS look like Yosemite.

amitmarkel avatar Nov 07 '14 22:11 amitmarkel

I think I forgot to invert the white point. Will do that tomorrow!

amitmarkel avatar Nov 07 '14 22:11 amitmarkel

I have been working on this for three days now. Tomorrow I will have limited time to do this. I hope that this will resolve the issue I mentioned.

amitmarkel avatar Nov 07 '14 22:11 amitmarkel

@amitmarkel this is a great step forward! thank you

(for others, install profile in /System/Library/ColorSync/Profiles)

I'm getting these.

  • Do you need to reboot / reboot apps (didnt think so... should be system-wise)? some colors in browsers remain uninverted (note the Green github "Comment" button). Is this whitepoint related?
  • Yep, i also note the grays + lightness problem (not quite smooth enough to be usable, but we're getting there)

just hue

with nocturne

jbenet avatar Nov 07 '14 22:11 jbenet

I suppose so. Will fix it tomorrow.

amitmarkel avatar Nov 07 '14 22:11 amitmarkel

@amitmarkel Great job! Fantastic write up including references.

ejwessel avatar Nov 08 '14 05:11 ejwessel