I want to execute the imagemagick command in background instead of displaying the window console using ShellExecute or ShellExecuteEx, but can't get the output file.
ShellExecuteEx(0, _T("open"), _T("D:/convert.exe"),
_T("convert clipboard:myimage test.png"), NULL, SW_HIDE)