Page 1 of 1

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

Posted: Fri Jul 22, 2005 4:47 pm
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

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

Posted: Mon Jul 25, 2005 9:01 am
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.

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

Posted: Sun Aug 28, 2005 3:10 pm
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\)

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

Posted: Mon Aug 29, 2005 2:51 pm
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\%