Color picker tool get random colors from grey scale image

Bugs found in XnView Classic. Please report only one bug per topic!

Moderator: xnview

User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Color picker tool get random colors from grey scale image

Post by ckv »

Tools like Auto-cropping that use the color picker gets a random grey scale color when trying to pick a color from a grey scale image. :bug:

Reproduce:
- Open the attached PNG file in XnView
- Use the Automatic crop tool or some other tool that uses the color picker
- Try to pick any color from the image with the color picker

Result: Random random grey scale color is selected

Edit: As a workaround I have been converting the image to true colors and then back to grey scale after using the tool, so it's not a big issue.
You do not have the required permissions to view the files attached to this post.
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.
GracyScott
Posts: 6
Joined: Fri Mar 07, 2025 10:13 am

Re: Color picker tool get random colors from grey scale image

Post by GracyScott »

I totally agree with this request. Having a dedicated button on the toolbar would save so many clicks compared to digging through the menus every time.
In the meantime, if I'm working on a project where I need to pull a bunch of hex codes quickly from images, I've just been using https://thetoolapp.com/image-color-picker/ in a side tab. It’s a handy workaround until (hopefully) the devs add a more streamlined picker directly to the UI. Definitely +1 for the toolbar idea!