Actions > Change color depth > Colors -- 64 does not work

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

anontestings
Posts: 4
Joined: Sun Jun 21, 2020 9:22 am

Actions > Change color depth > Colors -- 64 does not work

Post by anontestings »

Actions > Change color depth > Colors -- 64 does not work.
User avatar
xnview
Author of XnView
Posts: 44572
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Actions > Change color depth > Colors -- 64 does not work

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
anontestings
Posts: 4
Joined: Sun Jun 21, 2020 9:22 am

Re: Actions > Change color depth > Colors -- 64 does not work

Post by anontestings »

you're welcome. but still not fixed. i put xnconvert. thanks.
anontestings
Posts: 4
Joined: Sun Jun 21, 2020 9:22 am

Re: Actions > Change color depth > Colors -- 64 does not work

Post by anontestings »

"xnconvert > actions > change color depth > colors > 64" does not work.

i mean, in xnconvert, if you try to make it 64 colors, it ends up converting it to 256 colors, if it's not obvious.

i put "xnconvert" in the title, and i'm even pretty sure i originally put this in the xnconvert board, not the xnview board, if it's not obvious.

maybe a mod edited it so the topic didn't include "xnconvert", then another mod moved it to xnview board, i don't know.

anyway.

i hope this helps.

thank you.
User avatar
xnview
Author of XnView
Posts: 44572
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Actions > Change color depth > Colors -- 64 does not work

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.96.5. Please check and confirm the bug fix here.
Pierre.
Gwenael Q.
Posts: 304
Joined: Mon Apr 06, 2020 2:06 am
Location: Martinique

Re: Actions > Change color depth > Colors -- 64 does not work

Post by Gwenael Q. »

Hello

Did some tests :

- view mode > Image > change color depth.
- Change color number with binary, grayscale or color (default dithering)
- "Image > count colors used" : expected number of colors (even with 64). OK

- Haven't tested Xnconvert itself but "Tools > batch convert > Change color depth" is also OK

Beware the pitfall: if image is saved it must be saved as PNG for counting colors. If saved as jpeg : count of colors used will be (often much) bigger than value applied and expected !! That's not surprising (destructive compression).


Thanks for listening

XnView MP Windows 0.96.5 64bits on windows 8.1
cday
XnThusiast
Posts: 4136
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Actions > Change color depth > Colors -- 64 does not work

Post by cday »

Thank you for doing your tests, I think I had unexpected results some time back.

Gwenael Q. wrote: Tue Sep 22, 2020 3:34 pm Beware the pitfall: if image is saved it must be saved as PNG for counting colors.
Or any lossless format?

If saved as jpeg : count of colors used will be (often much) bigger than value applied and expected !! That's not surprising (destructive compression).
Not easily forseeable when working that the number of colours may/will increase...
Gwenael Q.
Posts: 304
Joined: Mon Apr 06, 2020 2:06 am
Location: Martinique

Re: Actions > Change color depth > Colors -- 64 does not work

Post by Gwenael Q. »

Or any lossless format?
I suppose so !