Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Posted: 2016-08-24T20:10:39-07:00
Thanks for the feedback, i have just fixed it. It is actually the brackets. In windows its necessary to put quote marks around each bracket "(" and ")" or it wont work.
So my final code was
Thanks again for the help.
So my final code was
Code: Select all
convert "!infile!" "!infile2!" "(" -clone 0 -blur 0x0.2 -statistic minimum 3x3 -threshold 30%% -negate -morphology open octagon:1 -morphology close octagon:3 ")" -delete 0 -alpha off -compose copy_opacity -composite "!outfile!"