User defined folder colors
Moderators: helmut, XnTriq, xnview
Ask to Pierre !
—> oops66
Hello !
• This is Pierre who has set decimal RRR GGG BBB in the INI, we didn't request this (at least, not me).
- Windows doesn't use the hexa code, but the awful calculation of "complements", like shown above.
- This can be replaced with the inverted hexa code directly which is totally equivalent.
That works in other programmes, but NOT in XnView, I can't get an anwswer from Pierre about this,
I had requested it at least TEN times…
- That's all…
KR
Claude
Clo

• This is Pierre who has set decimal RRR GGG BBB in the INI, we didn't request this (at least, not me).
- Windows doesn't use the hexa code, but the awful calculation of "complements", like shown above.
- This can be replaced with the inverted hexa code directly which is totally equivalent.
That works in other programmes, but NOT in XnView, I can't get an anwswer from Pierre about this,
I had requested it at least TEN times…
- That's all…

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
- foxyshadis
- Posts: 395
- Joined: Sat Nov 18, 2006 8:57 am
Hex is nice because it has become the standard for specifying a single color across many graphical packages. Mainly because it gives you one number to cut and paste, instead of three different numbers, or each pair of digits is meaningful, unlike decimal. Photoshop, Paint.Net, Gimp, and I'm sure others can use it, as well as those web color sites, and the ColorZilla extension.
It only takes a minute or two to get used to how it works, it doesn't require a calculator. And it doesn't require strings.
(It's no big deal in the registry, where you can work in either decimal or hex as you please as long as it's not a string.)
BGR is only of interest to programmers. No user should ever have to see that abomination, and I'd say all those colors should be switched ASAP. Create a new 192colors=1 entry if you have to, to govern when it should switch them. But it's your software.
It only takes a minute or two to get used to how it works, it doesn't require a calculator. And it doesn't require strings.
(It's no big deal in the registry, where you can work in either decimal or hex as you please as long as it's not a string.)
BGR is only of interest to programmers. No user should ever have to see that abomination, and I'd say all those colors should be switched ASAP. Create a new 192colors=1 entry if you have to, to govern when it should switch them. But it's your software.
Yes, i'll change that in next version...foxyshadis wrote:BGR is only of interest to programmers. No user should ever have to see that abomination, and I'd say all those colors should be switched ASAP. Create a new 192colors=1 entry if you have to, to govern when it should switch them. But it's your software.
Pierre.
So what ?
—> foxyshadis
Hello !
and appreciated by the users of softwares in which it's supported !
- We have it for years in Total Commander (that's not reserved to programmers…), this avoids headaches…
KR
Claude
Clo

• $BBGGRR is NOT an “abomination”, in the opposite it's very simple and handy,BGR is only of interest to programmers. No user should ever have to see that abomination, …
and appreciated by the users of softwares in which it's supported !
- We have it for years in Total Commander (that's not reserved to programmers…), this avoids headaches…


Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
foxyshadis is right, Hexa is better and not difficult:
"...It only takes a minute or two to get used to how it works, it doesn't require a calculator. And it doesn't require strings
(It's no big deal in the registry, where you can work in either decimal or hex as you please as long as it's not a string.) ..."
Then less time and power for CPU, HDD....
less time and power for read, write, save data.
Small data in registry, hdd, ini.files....
less time and power for users in fact.
And multiplie by millions of colors x millions of codes x millions of softwares x millions of users, millions of times, there is also an impact to the planet care !
When is good for the planet and efficient, then it should be a standard for everybody !
"...It only takes a minute or two to get used to how it works, it doesn't require a calculator. And it doesn't require strings
(It's no big deal in the registry, where you can work in either decimal or hex as you please as long as it's not a string.) ..."
Then less time and power for CPU, HDD....
less time and power for read, write, save data.
Small data in registry, hdd, ini.files....
less time and power for users in fact.
And multiplie by millions of colors x millions of codes x millions of softwares x millions of users, millions of times, there is also an impact to the planet care !
When is good for the planet and efficient, then it should be a standard for everybody !
XnViewMP Linux X64 - Debian - X64
I have gradually become conscious that every single thing we do on/with computers (as elsewhere) has a "carbon footprint". It's bizarre to think this way, but if one considers alternate implementations of routines that will be used by millions over the whole world... then the implementation that has the smallest carbon footprint (ie, executes fastest, perhaps????, or requires less resources in some other way) would be a good choice.oops66 wrote:there is also an impact to the planet care !
When is good for the planet and efficient, then it should be a standard for everybody !
I know, I know. Maybe a little too "green" for today, and certainly OT here, but...
John
Fixed for folders


• The issue is fixed up for the folder colours with 1.91.4, thanks !
- Hence, we have to use the normal decimal code RRR GGG BBB there, or any other supported, that works.

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Re: Fixed for folders
Merci Clo et PierreClo wrote:Pierre
Hello !
• The issue is fixed up for the folder colours with 1.91.4, thanks !
- Hence, we have to use the normal decimal code RRR GGG BBB there, or any other supported, that works.
KR
Claude
Clo
But, I have added below items to my xnview.ini v 1.92.4 file, by hand, because if not, all colors are black by default for the folder :
...
[Browser]
FolderColor1=#FFFFA8
FolderColor2=#FFD058
FolderColor3=#D09400
FolderColor4=#FFD878
FolderColor5=#FFD058
...
or in decimal color code
FolderColor1=11075583
FolderColor2=5820671
FolderColor3=38096
FolderColor4=7919871
FolderColor5=5820671
.....
XnViewMP Linux X64 - Debian - X64