My custom modules work no more.
Not so long ago I could execute something like
Code: Select all
convert inface1.jpg -process myproc="-opt1 arg1 -opt2 arg2" outface.jpg
and my module (myproc.dll) got the call at the follow line.
Code: Select all
ModuleExport MagickBooleanType myprocImage(Image **images,const int argc, char **argv)
In those days, argc was always 1 and I processed my own args by splitting this one arg (the string after the = above). A change has occurred and nothing works. It actually seems that argc is zero no matter what I try. The doc now sauggests the args would just be placed as follows,
Code: Select all
convert inface1.jpg -process myproc -opt1 arg1 -opt2 arg2 outface.jpg
but that doesn't work, and actually makes no sense to me because it isn't clear which args would be for the process and which should be processed by convert.
What the heck has happened (and why?) and where should I look for a solution? I have months and months of work tied up in this.
Rick