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

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

Moderators: XnTriq, helmut, xnview

User avatar
helmut
Posts: 8705
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 »

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

Depends on which palette

Post by Clo »

: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 :

ImageImage

• 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.
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

It's a bug
Pierre.
Locked