I'm trying to create create an image with noise and do it with one combined command, but am having issues.
The image is simply text (i.e. ABCD) and I want to overlay black and white noise to obscure the letters
First creating the text on its own image...
Code: Select all
convert -size 100x100 xc:none -pointsize 35 -gravity center -draw "text 0,0 'ABCD' " test.png
Code: Select all
convert -size 100x100 xc: +noise random -channel G -threshold 25% -negate -channel RG -separate +channel -compose CopyOpacity -composite test2.png
Code: Select all
convert -size 100x100 xc: +noise random -channel G -threshold 25% -negate -channel RG -separate +channel -compose CopyOpacity -composite -pointsize 35 -gravity center -draw "text 0,0 'ABCD' " test3.png
If I reverse the commands however the noise completely covers the letters (as there is no transparency) so I do not see them at all using the following command
Code: Select all
convert -size 100x100 xc:none -pointsize 35 -gravity center -draw "text 0,0 'ABCD' " xc: +noise random -channel G -threshold 25% -negate -channel RG -separate +channel -compose CopyOpacity -composite test4.png
Can someone please tell me how to correct this, or a better way of accomplishing my goal?
Ammendment: Running 6.9.1 Q16 (64 bit) via DOS command line
Paul.