0.93.1: "Image->Count colors used" always returns 2 for binary images

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
User avatar
TornadoOfSouls
Posts: 5
Joined: Wed Nov 12, 2014 9:55 am
Location: Russia

0.93.1: "Image->Count colors used" always returns 2 for binary images

Post by TornadoOfSouls » Tue Sep 10, 2019 9:48 pm

XnView: MP 0.93.1 - 64-bit
OS: Windows 7 - 64-bit

To reproduce:
1. Open solid color binary (1 bpp) image
2. Press Image->Count colors used, XnView returns "2"
3. Press Image->Change color depth... and select Grayscale, Colors or 24/32 bits
4. Press Image->Count colors used, XnView returns "1"

Expected behaviour: Get the actual number of used colors.
// sorry for my bad english

Post Reply