Resize all pictures in a folder (without sp. name) and....

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
forumwurm
Posts: 2
Joined: Fri Jul 22, 2005 4:37 pm

Resize all pictures in a folder (without sp. name) and....

Post by forumwurm »

hello, i have found your application yesterday and it seems to be exactly what i need. but there are some unanswered questions.

i have 3 folder

d:\pictures\original
d:\pictures\web
d:\pictures\original_after_resizing

in the first folder (original) will every few minutes saved new pictures directly from a digitalcamara. now i want, that my script resize this pictures to 600px an save the new file in the second folder (web). with one picture with name it is not a problem, but...

how can i say, take all pictures from this folder (i dont know the exact amount of the pics and names)?
how can i configure the script, that after the resize-process the original pictures will be moved to the third folder? or can i set an parameter, that with the next process its not taking the "already-resized-pictures"?

this process should go on every 5 minutes and have to be unattended.

thx4nfo
..
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: resize all pictures in a folder (without sp. name) and..

Post by xnview »

forumwurm wrote:hello, i have found your application yesterday and it seems to be exactly what i need. but there are some unanswered questions.

i have 3 folder

d:\pictures\original
d:\pictures\web
d:\pictures\original_after_resizing

in the first folder (original) will every few minutes saved new pictures directly from a digitalcamara. now i want, that my script resize this pictures to 600px an save the new file in the second folder (web). with one picture with name it is not a problem, but...

how can i say, take all pictures from this folder (i dont know the exact amount of the pics and names)?
how can i configure the script, that after the resize-process the original pictures will be moved to the third folder? or can i set an parameter, that with the next process its not taking the "already-resized-pictures"?

this process should go on every 5 minutes and have to be unattended.
Currently not possible directly from XnView.
Pierre.
forumwurm
Posts: 2
Joined: Fri Jul 22, 2005 4:37 pm

Re: resize all pictures in a folder (without sp. name) and..

Post by forumwurm »

xnview wrote:Currently not possible directly from XnView.
whats not possible?

take all pictures from this folder?

will it be possible with the next version?


and an other question. i have created a script by using the gui

Code: Select all

nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o
D:\data\XnView\gal\ -ratio -rtype linear -resize 600 0 
"D:\data\XnView\test\01\IMG_2000.JPG"
"D:\data\XnView\test\01\IMG_2001.JPG" 
if i start this script with nconvert than i get the following error message:

Error: Can't create file (\data\XnView\gal\)
..
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: resize all pictures in a folder (without sp. name) and..

Post by xnview »

forumwurm wrote:
xnview wrote:Currently not possible directly from XnView.
whats not possible?

take all pictures from this folder?

will it be possible with the next version?
Yes

Code: Select all

nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o
D:\data\XnView\gal\ -ratio -rtype linear -resize 600 0 
"D:\data\XnView\test\01\IMG_2000.JPG"
"D:\data\XnView\test\01\IMG_2001.JPG" 
if i start this script with nconvert than i get the following error message:

Error: Can't create file (\data\XnView\gal\)
Use -o D:\data\XnView\gal\%
Pierre.
Post Reply