"%binFolder%\resize.exe" "%SourceImage%"
/h=1000
/w=1000
/dest="%DestinationPath%"
/Policy=reduce
/Action=move
/Minimized
/autoclose
/conflict=overwrite
/run
If I run the generated command manually on the server, it works perfectly and the image is successfully resized and moved to the target location.
When the command is run by the Web app, resizer.exe starts up and then sits there until terminated using Task Manager. I suspect that the process is trying to open up a window and, since it's running in the IIS context, cannot do so.
Is it possible to run the program as a scripted action in a non-interactive mode?
Hercules Gunter
Admin wrote:You can use Light Image Resizer as a command line, so you can call it from anything like a batch script, .net , c# , csharp, cgi , visual basic or delphi
Feel free to ask any question about licensing or suggest any addition.
Basically you can find also all the options of Light Image Resizer in the registry, so you can easily program it the way you need it for your project.
Image Resizer Command Line Switches
===================================
{snipped}