B1: Colour picker in dialog doesn't work on palette image

Feedback and Comments on the new 1.96 Test version on Windows.

Moderator: XnTriq

User avatar
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

B1: Colour picker in dialog doesn't work on palette image

Post by helmut » Fri Jan 09, 2009 11:02 pm

Not quite sure whether this is a bug or a feature:

When using the new colour picker in dialog "Automatic Crop" on normal images, it works well. When using it on palette images (e.g. 256 colour BMP), it does not work. I would have expected it to work, but perhaps this is just not possible due to the colour palette.

User avatar
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Depends on which palette

Post by Clo » Sat Jan 10, 2009 4:07 am

:arrow: helmut

• Hi !

• It works here only when the chosen colour is part of a standard Win palette -even a 16-colour one,
while it doesn't if you choose a pastel colour else than the standard. Example :


• This small image contains 11 colours only, it's shown as “4 BPP”.
• If the white BG is chosen - while another colour is set already- it works, you'll get “White”,
but then you can't change to any other colour present on that image, ”White“ will remain…

- A bit aside : I can get it working with images shown as 8 BPP in GreenFishIconEditor
- defined simply with the real number of hues - but as 24 BPP in XnView because the colours
(at least one among >16 and < 256) are pastel ones and¦or not part of the standard 8 BPP Win palette…
- That mismatch is confusing and annoying…

:mrgreen: G.
Old user ON SELECTIVE STRIKE till further notice

User avatar
Author of XnView
Posts: 31145
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: B1: Colour picker in dialog doesn't work on palette imag

Post by xnview » Mon Jan 12, 2009 11:02 am

It's a bug