Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Coverting Colour

Here we illustrate the conversion of black to white. Effectively we request that anything that is black becomes opaque, and then we request all opaque regions to be filled with white.

$ convert input.png -fill white -opaque black output.png

Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the
purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.