Negating color range from command line
Posted: 2007-12-28T07:22:25-07:00
I have set of images that have white letters on them. Backgrounds are different and colored. (No white in backgrounds)
What I'm trying to do is change all color to black.
This almost does the trick, but some white pixels remain as residue in background.
This reverses the process changing all white letters to black and omitting the background, but some lightly colored residue remains.
I need absolutely no residue remaining. Any advice would be greatly appreciated.
What I'm trying to do is change all color to black.
This almost does the trick, but some white pixels remain as residue in background.
Code: Select all
NameCapture.bmp -gamma 0.001 -monochrome NameCapture_NEW.bmp
Code: Select all
NameCapture.bmp -gamma 0.001 -level 100%, 0%, 1.0 NameCapture_NEW.bmp
I need absolutely no residue remaining. Any advice would be greatly appreciated.