I'm trying run Nconvert with VBA and automate a series of commands.
Can I run something like this at once?
"C:\Program Files\XnView\nconvert\nconvert.exe" -out jpeg -resize 200 -ratio -sharpen 12 -scaling -rflag orient -rtype lanczos "C:\Program Files\XnView\nconvert\1.tif" "C:\Program Files\XnView\nconvert\2.tif"
or do I have to use run > cmd.exe > open Nconvert.exe and then type the command?
runing program and command from "RUN"
Moderator: xnview
-
jesperfj
- Posts: 3
- Joined: Sat Oct 04, 2008 1:49 pm
I've created a bat-file using XnView with this content:
C:\Program Files\XnView\nconvert\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\\%%.jpg -ratio -rtype lanczos -rflag orient -resize 200 0 -sharpen 12 "C:\Program Files\XnView\nconvert\111.tif" "C:\Program Files\XnView\nconvert\222.tif"
but nothing seems to happen when I run it.
Should I be able to run the bat just like that?
Many thanks for any help.
C:\Program Files\XnView\nconvert\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\\%%.jpg -ratio -rtype lanczos -rflag orient -resize 200 0 -sharpen 12 "C:\Program Files\XnView\nconvert\111.tif" "C:\Program Files\XnView\nconvert\222.tif"
but nothing seems to happen when I run it.
Should I be able to run the bat just like that?
Many thanks for any help.
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: runing program and command from "RUN"
Yes you canjesperfj wrote: "C:\Program Files\XnView\nconvert\nconvert.exe" -out jpeg -resize 200 -ratio -sharpen 12 -scaling -rflag orient -rtype lanczos "C:\Program Files\XnView\nconvert\1.tif" "C:\Program Files\XnView\nconvert\2.tif"
Pierre.
-
jesperfj
- Posts: 3
- Joined: Sat Oct 04, 2008 1:49 pm
-
jesperfj
- Posts: 3
- Joined: Sat Oct 04, 2008 1:49 pm
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France