[fixed] CheckerColor# has red and blue channels reversed

Bugs and Suggestions which have been resolved

Moderators: helmut, Olivier_G, Dreamer, XnTriq, xnview

[fixed] CheckerColor# has red and blue channels reversed

Postby ckv » Mon Sep 14, 2009 5:47 pm

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.
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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: CheckerColor# options has red and blue channels reversed

Postby Clo » Mon Sep 14, 2009 7:20 pm

:arrow: ckv

:) Hello !

• I think that you might set a complete colour code… For instance, here I have :
[View]
CheckerColor1=#FFD7FF
CheckerColor2=#FFFFE7
… and that works perfectly…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Re: CheckerColor# options has red and blue channels reversed

Postby ckv » Mon Sep 14, 2009 7:31 pm

Clo wrote::arrow: ckv

:) Hello !

• I think that you might set a complete colour code… For instance, here I have :
[View]
CheckerColor1=#FFD7FF
CheckerColor2=#FFFFE7
… and that works perfectly…

:mrgreen: KR
Claude
Clo

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.

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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: CheckerColor# options has red and blue channels reversed

Postby XnTriq » Mon Sep 14, 2009 7:45 pm

:bugconfirmed: I had noticed that too, but I forgot to report it. Thanks, ckv!
User avatar
XnTriq
Moderator & Librarian
 
Posts: 1834
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: CheckerColor# options has red and blue channels reversed

Postby ckv » Mon Sep 14, 2009 8:35 pm

ckv wrote:It is a complete colour code. It is just a non-coded color...
:mrgreen: lol
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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: CheckerColor# options has red and blue channels reversed

Postby Clo » Mon Sep 14, 2009 8:51 pm

:arrow: ckv

:) Again…
…But CheckerColor2 has different values and this is what it looks like on my screen (light blue)

• Here it's "cream" on MY screen as it should !
- Gentlemen, I guess that something is wrong in your machines… or your graphic cards settings… Image

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Re: CheckerColor# options has red and blue channels reversed

Postby ckv » Mon Sep 14, 2009 9:35 pm

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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: CheckerColor# options has red and blue channels reversed

Postby oops66 » Mon Sep 14, 2009 9:55 pm

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).

Right, I have the same problem here.
Like as, What has created the Universe (... including Humans) is an Universal Heritage, all that has been created by Men "through this Creator" must be at least a Human Heritage !
User avatar
oops66
 
Posts: 1273
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: CheckerColor# options has red and blue channels reversed

Postby XnTriq » Tue Sep 22, 2009 10:00 pm

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).

ToolbarBackColor has the same bug.
User avatar
XnTriq
Moderator & Librarian
 
Posts: 1834
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

oops again.

Postby marsh » Wed Sep 23, 2009 4:40 am

Please disregard my post.
User avatar
marsh
XnThusiast
 
Posts: 2076
Joined: Sun May 15, 2005 6:31 am

Re: CheckerColor# options has red and blue channels reversed

Postby ckv » Sat Nov 14, 2009 9:59 pm

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:
TreeBackColor=#0000FF
TreeFontColor=#FFFF00
TreeFontHiColor=#FF0000

These settings should result a folder tree that should look like this:
Image

But in XnView 1.97 beta it looks like this:
Image


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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: CheckerColor# options has red and blue channels reversed

Postby xnview » Sun Nov 15, 2009 1:18 pm

ckv wrote:Not fixed in XnView 1.97 beta.

Ok, i've not fixed the good thing. Could you send me your email by PM, please?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16252
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: CheckerColor# options has red and blue channels reversed

Postby ckv » Fri Nov 27, 2009 11:52 am

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.
User avatar
ckv
 
Posts: 714
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow


Return to Resolved Bugs & Requests

Who is online

Users browsing this forum: No registered users and 0 guests