User defined folder colors

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post 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 ?
XnViewMP Linux X64 - Debian - X64
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Ask to Pierre !

Post 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
Old user ON SELECTIVE STRIKE till further notice
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post 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.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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...
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

So what ?

Post 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
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post 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 !
XnViewMP Linux X64 - Debian - X64
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post 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...
John
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Fixed for folders

Post 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
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Fixed for folders

Post 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
.....
XnViewMP Linux X64 - Debian - X64
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post 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
Post Reply