[fixed] CheckerColor# has red and blue channels reversed
Moderators: XnTriq, helmut, xnview
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
[fixed] CheckerColor# has red and blue channels reversed
CheckerColor1 and CheckerColor2 options are using reversed red and blue channels. Meanin that red is used as blue and blue as red (BGR).
Example: If you set CheckerColor1=255 which should result red checker, but instead you get blue checker.
The problem exist with both colour coded and non-coded values.
Example: If you set CheckerColor1=255 which should result red checker, but instead you get blue checker.
The problem exist with both colour coded and non-coded values.
Last edited by ckv on Fri Nov 27, 2009 11:52 am, edited 1 time in total.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Re: CheckerColor# options has red and blue channels reversed
ckv
Hello !
• I think that you might set a complete colour code… For instance, here I have :
KR
Claude
Clo
Hello !
• I think that you might set a complete colour code… For instance, here I have :
… and that works perfectly…[View]
CheckerColor1=#FFD7FF ■
CheckerColor2=#FFFFE7 ■
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: CheckerColor# options has red and blue channels reversed
It is a complete colour code. It is just a non-coded color value and it translates to 255 0 0 or #FF0000 as a coded value. If you use any of these values 255, 255 0 0 or #FF0000 you should get a fully red checker, but instead you get blue checker.Clo wrote: ckv
Hello !
• I think that you might set a complete colour code… For instance, here I have :… and that works perfectly…[View]
CheckerColor1=#FFD7FF ■
CheckerColor2=#FFFFE7 ■
KR
Claude
Clo
In your example CheckerColor1 has same value for red and blue, so sure it works. But CheckerColor2 has different values and this is what it looks like on my screen ■.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- Moderator & Librarian
- Posts: 6366
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: CheckerColor# options has red and blue channels reversed
I had noticed that too, but I forgot to report it. Thanks, ckv!
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: CheckerColor# options has red and blue channels reversed
lolckv wrote:It is a complete colour code. It is just a non-coded color...
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Re: CheckerColor# options has red and blue channels reversed
ckv
Again…
- Gentlemen, I guess that something is wrong in your machines… or your graphic cards settings…
KR
Claude
Clo
Again…
• Here it's "cream" on MY screen as it should !…But CheckerColor2 has different values and this is what it looks like on my screen (light blue)
- Gentlemen, I guess that something is wrong in your machines… or your graphic cards settings…
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: CheckerColor# options has red and blue channels reversed
Clo, if you set CheckerColor1=#FF0000, do you get red checkers?
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: CheckerColor# options has red and blue channels reversed
Right, I have the same problem here.ckv wrote:CheckerColor1 and CheckerColor2 options are using reversed red and blue channels. Meanin that red is used as blue and blue as red (BGR).
XnViewMP Linux X64 - Debian - X64
-
- Moderator & Librarian
- Posts: 6366
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: CheckerColor# options has red and blue channels reversed
ToolbarBackColor has the same bug.ckv wrote:CheckerColor1 and CheckerColor2 options are using reversed red and blue channels. Meanin that red is used as blue and blue as red (BGR).
-
- XnThusiast
- Posts: 2443
- Joined: Sun May 15, 2005 6:31 am
oops again.
Please disregard my post.
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: CheckerColor# options has red and blue channels reversed
Not fixed in XnView 1.97 beta.
Only the # or $ formated colors work with CheckerColor1 / CheckerColor2 settings, but raw color and R G B formated values still doesn't work. E.g. CheckerColor1=16711680 or CheckerColor1=0 0 255 should result blue checker, but instead it's red.
This fix also caused a regression with all other formated # and $ color entries.
Example:
But in XnView 1.97 beta it looks like this:
Looks like this bug is fixed in the wrong place, as this quote from the changelog hints "INI Color entry with # or $ are reversed"
The problem was not that all # or $ formated colors are reserved, but only CheckerColor1 and CheckerColor2 color entries are reserved. Even the raw non fromated values are reserved with these two settings.
Only the # or $ formated colors work with CheckerColor1 / CheckerColor2 settings, but raw color and R G B formated values still doesn't work. E.g. CheckerColor1=16711680 or CheckerColor1=0 0 255 should result blue checker, but instead it's red.
This fix also caused a regression with all other formated # and $ color entries.
Example:
These settings should result a folder tree that should look like this:TreeBackColor=#0000FF
TreeFontColor=#FFFF00
TreeFontHiColor=#FF0000
But in XnView 1.97 beta it looks like this:
Looks like this bug is fixed in the wrong place, as this quote from the changelog hints "INI Color entry with # or $ are reversed"
The problem was not that all # or $ formated colors are reserved, but only CheckerColor1 and CheckerColor2 color entries are reserved. Even the raw non fromated values are reserved with these two settings.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: CheckerColor# options has red and blue channels reversed
Ok, i've not fixed the good thing. Could you send me your email by PM, please?ckv wrote:Not fixed in XnView 1.97 beta.
Pierre.
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: CheckerColor# options has red and blue channels reversed
Fixed in XnView 1.97 beta 4
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.