I am trying to create a png from command line and then convert it to BMP3 format:
Code: Select all
convert -size 172x172 xc:white \
-type Optimize -compress none \
-flatten \
-gravity North \
-font "Helvetica" \
-pointsize 20 \
-annotate +0+15 "aaaaa" \
-font "Helvetica" \
-gravity Center \
-pointsize 70 \
-annotate +0+0 "bbbbb" \
-gravity South \
-font "Helvetica" \
-pointsize 20 \
-annotate +0+30 "cccc" \
-pointsize 17 \
-annotate +0+17 "dddd.dd" \
-pointsize 15 \
-annotate +0+0 "eeee.ee" \
-mattecolor black \
-frame 10x10+0+0 \
file.png
Code: Select all
convert file.png +repage -type Bilevel -colors 2 -compress none BMP3:test.bmp
I tried using -negate to get the correct image but it doesn't work. Any help?
Regards,
Panos