Invert black and white

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

Moderators: XnTriq, helmut, xnview

w64bit
Posts: 27
Joined: Sat Feb 07, 2015 9:33 pm

Invert black and white

Post by w64bit »

Is there an easy way to invert black and white on a file (not negative, only black and white)?
User avatar
xnview
Author of XnView
Posts: 44490
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Invert black and white

Post by xnview »

Convert to binary
Pierre.
w64bit
Posts: 27
Joined: Sat Feb 07, 2015 9:33 pm

Re: Invert black and white

Post by w64bit »

Thank you, but I mean:
To reverse black and white values of the image.
This inversion will change only the pixels that are either pure white or pure black.
The use is for printing of the images with black background (screenshots from programs).
cday
XnThusiast
Posts: 4136
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Invert black and white

Post by cday »

rizarefaldi wrote: Thu May 20, 2021 12:53 pm
w64bit wrote: Thu Dec 03, 2020 10:50 am Thank you, but I mean:
To reverse black and white values of the image.
This inversion will change only the pixels that are either pure white or pure black.
The use is for printing of the images with black background (screenshots from programs).
hi, i got the same issue, please update the thread if you got the solusion, thanks.
You may get somewhere close to the change you need using [XnView MP settings]:

1. Image > Map > Negative

2. Image > Adjust > Levels... [Move top right slider to left]


Darkmode.png

Processed.png
You do not have the required permissions to view the files attached to this post.
w64bit
Posts: 27
Joined: Sat Feb 07, 2015 9:33 pm

Re: Invert black and white

Post by w64bit »

Is it possible, please, to add this feature (to reverse only black and white values of the image)?
Thank you