Discussions on NConvert - the command line tool for image conversion and manipulation
Moderators: XnTriq, helmut, xnview
3 posts • Page 1 of 1
- Posts: 8702
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
I've just checked and the sample below works for me. Though the correct paths are an issue: If you do not specificy paths, I think the current dir, that is the directory where the running VB application resides in, will be used. To be on the save side make sure you specify valid paths for nconvert, input and output file.
Not sure in your case, but I recommend you to have a look at GFL SDK.
Code: Select all
Dim taskID As Double taskID = Shell("C:\Program Files\XnView\nconvert.exe -o D:\file_out.jpg D:\file_in.jpg")