Page 2 of 2

Posted: Wed Aug 15, 2007 2:34 am
by oops66
Not standard for who but standard of who...
Standard of efficiency !
6 digits is better than 9 digits for the same things... no ?

Ask to Pierre !

Posted: Wed Aug 15, 2007 4:34 am
by Clo
—> 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…

:mrgreen: KR
Claude
Clo

Posted: Wed Aug 15, 2007 8:31 am
by foxyshadis
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.

Posted: Wed Aug 15, 2007 8:51 am
by xnview
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.
Yes, i'll change that in next version...

So what ?

Posted: Wed Aug 15, 2007 4:44 pm
by Clo
—> foxyshadis

:) Hello !
BGR is only of interest to programmers. No user should ever have to see that abomination, …
$BBGGRR is NOT an “abomination”, in the opposite it's very simple and handy,
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… :P

:mrgreen: KR
Claude
Clo

Posted: Wed Aug 15, 2007 5:05 pm
by oops66
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 !

Posted: Wed Aug 15, 2007 6:16 pm
by JohnFredC
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 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.

I know, I know. Maybe a little too "green" for today, and certainly OT here, but...

Fixed for folders

Posted: Wed Aug 29, 2007 3:33 pm
by Clo
:arrow: 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.

:mrgreen: KR
Claude
Clo

Re: Fixed for folders

Posted: Wed Aug 29, 2007 11:06 pm
by oops66
Clo wrote::arrow: 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.
:mrgreen: KR
Claude
Clo
Merci Clo et Pierre
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
.....

Posted: Thu Aug 30, 2007 9:25 am
by marsh
>oops66
Thanks for your example. Here is the same thing in the other working style:
FolderColor1=255 255 168
FolderColor2=255 208 88
FolderColor3=208 148 00
FolderColor4=255 216 120
FolderColor5=255 208 88