Color replacing doesn't work [Solved]

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
testperson
Posts: 11
Joined: Thu Jul 30, 2020 3:59 pm

Color replacing doesn't work [Solved]

Post by testperson »

Hi,

I tried to replace the color #ffffff by #f7f7f7. But on some of my images it just dont work. I tried it with the batch option of both XnView Classic and XnConverter.

Here is one of those images that failed:
3fa3d76d-334b3177_alpha_tile-00.png
3fa3d76d-334b3177_alpha_tile-00.png (17.91 KiB) Viewed 1460 times
Any ideas why its not working?
cday
XnThusiast
Posts: 4395
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Color replacing doesn't work

Post by cday »

testperson wrote: Thu Jul 30, 2020 4:11 pm I tried to replace the color #ffffff by #f7f7f7. But on some of my images it just dont work. I tried it with the batch option of both XnView Classic and XnConverter.

Here is one of those images that failed:

3fa3d76d-334b3177_alpha_tile-00.png
The file you uploaded is a 1-bit black and white image, so only colours RGB 000000 and FFFFFF are supported, you would presumably have to convert it to 24-bit depth before replacing FFFFFF...
testperson
Posts: 11
Joined: Thu Jul 30, 2020 3:59 pm

Re: Color replacing doesn't work

Post by testperson »

Yes, that was the issue, thanks a lot :)
Post Reply