Code: Select all
convert img1.tif img2.tif mask.tif -composite output.tif
Code: Select all
convert input.tif \( -clone 0 -threshold 50372 \) \( -clone 0 -gamma -1 -fill black -draw "rectangle 128,504 425,826" \) -composite output.tif
Code: Select all
convert input.tif \( -clone 0 -threshold 50372 \) \( -clone 0 -gamma -1 -fill black -draw "rectangle 128,504 425,826" \) -type TrueColor -composite output.tif
This is present in 7.0.3-7 but I can't upgrade to the latest version to see if this has been changed.