black and white to white and black command line

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
urbanleg
Posts: 2
Joined: 2011-04-06T04:09:47-07:00
Authentication code: 8675308

black and white to white and black command line

Post by urbanleg »

Hello all.
i would like to use the convert.exe cmd line to make a black and white picture into white and black. (switch colors)

how do i do that exactly?

thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: black and white to white and black command line

Post by fmw42 »

convert image -negate resultimage

see -negate http://www.imagemagick.org/script/comma ... php#negate
urbanleg
Posts: 2
Joined: 2011-04-06T04:09:47-07:00
Authentication code: 8675308

Re: black and white to white and black command line

Post by urbanleg »

Thanks man!
great help
Post Reply