Code: Select all
convert image1.png -fill '#ffffff' -opaque '#ff00ff' image2.png
Code: Select all
#!/bin/bash
convert image1.png -fill "'#"$1"'" -opaque '#ff00ff' image2.png
Does anyone have any ideas? I've tried checking the literature and the command line works great assuming no options, but i'm not sure if there's something stupid i'm doing.