To invert black to white, you can use the same methods as mentioned in the article to invert the colors of the image. However, if you want to invert only black and white and keep other colors unchanged, you need to use a more advanced technique. You can use the Channel Mixer adjustment layer to invert only one channel, such as red, green, or blue. For example, if you want to invert black and white in an image that has mostly red and green colors, you can choose the blue channel and drag the blue slider to -100% and the yellow slider to +100%. This will swap black and white without affecting other colors.