Code: Select all
convert png:input.png
\( -size 909x516 xc:black -matte
-channel Alpha +noise Random -threshold 2% \)
-flatten png:- > noised.png
Code: Select all
convert png:input.png
\( -size 909x516 xc:black -matte
-channel Alpha +noise Random -threshold 2% \)
-flatten png:- > noised.png
Code: Select all
convert png:input.png
\( +clone -alpha opaque +level-colors black
-channel A +noise Random -threshold 2% \)
-flatten noised.png
Code: Select all
+matte -matte -fill black -colorize 100%
Code: Select all
$ time for i in `seq 1 100`; do convert png:motd.png \( -clone 0 -fill black -colorize 100% -matte -channel Alpha +noise Random -threshold 2% \) -flatten png:- > a.png; done
real 1m9.327s
user 1m3.476s
sys 0m4.050s
$ time for i in `seq 1 100`; do convert png:motd.png \( -size 909x516 -matte xc:black -channel Alpha +noise Random -threshold 2% \) -flatten png:- > a.png; done
real 1m6.360s
user 1m1.033s
sys 0m3.603s