The ideal is letters Black and the rest white, its possible?
The image:

Code: Select all
convert input.jpg -fuzz 50% -fill black -opaque black -bordercolor white -border 2 -fill black -draw "color 0,0 floodfill" -alpha off -negate result.png
@fmw42 Thanks for the response!fmw42 wrote: ↑2017-07-04T01:03:38-07:00 What is your IM version and platform? Please always provide that, since syntax differs. Try the following:
Code: Select all
convert input.jpg -fuzz 50% -fill black -opaque black -bordercolor white -border 2 -fill black -draw "color 0,0 floodfill" -alpha off -negate result.png
Code: Select all
$ identify --version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-05-26 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
Code: Select all
Warning. Invalid resolution 0 dpi.
Code: Select all
convert input.jpg -fuzz 50% -fill black -opaque black -bordercolor white -border 2 -fill black -draw "color 0,0 floodfill" -alpha off -negate -units pixelsperinch -density 72 result.png