COM object noob question
Posted: 2017-09-01T11:58:03-07:00
Hello, I've got a piece of code that's not working
I've ruled out obvious syntax errors since I've gotten less complicated commands working just fine, so what did I screw up here? I'm trying to emulate this command:
Code: Select all
compList := objIM.convert(fname
, "-colorspace", "gray"
, "-negate"
, "-threshold", "5%"
, "-define", "connected-components:verbose=true"
, "-define", "connected-components:area-threshold=300"
, "-connected-components", "8"
, "info:")
Code: Select all
convert.exe somefile.jpg -colorspace gray -negate -threshold 5% -define connected-components:verbose=true -define connected-components:area-threshold=300 -connected-components 8 info:- > tempfile.tmp