user iconollie on September 9th 2009
14536 views
Locked

topic iconProblem with recursive resize

Hi,

I figured that this would recursively resize all images in all folders below where this is run and overwrite the existing images:

PhotoResize400R.exe -u -i -w608

I have tried running it various ways but without luck.

What am I doing wrong please?

Many thanks.

user iconVlasta on September 9th 2009 0

You must also specify folder to process. If you want to use the current folder (that does not need to be the folder with the tool), just add a dot.

PhotoResize400R.exe -u -i -w608 .

user iconollie on September 9th 2009 0

Hi,

Many thanks for your response. For some reason (I don't suppose it's something that I can't live without) but, it seems to continually resize regardless of the fact that the files are already resized.

I thought the -u switch was going to prevent that.

PhotoResize400R.exe -u -i -w608 .

user iconVlasta on September 9th 2009 0

-u skips files existing in the destination folder and it is ignored, because it makes no sense with -i (since it would never resize anything). You probably want to use -s instead, which skips files smaller than the requested size.

user iconollie on September 10th 2009 0

Thanks again.

user iconollie on September 10th 2009 0

I have another question for you please.

With a recursive resize, is there any way I can specify a mask for which files get processed.

I have a set of files *.jpg and another set identical except the filename is *t.jpg. I need to resize the filenames with no "t" to regular size and those with "t" to thumbnail size.

If I could do something like

  \PhotoResize400R.exe -s -i -w44 q

on the *t.jpg;
then

  \PhotoResize400R.exe -s -i -w608 p

on the rest...
life would be just peachy.

Thanks.

user iconVlasta on September 11th 2009 0

I am sorry, this is not currently possible, maybe in a future version.

You may want to use some kind of scripting environment for this task.

user iconollie on September 12th 2009 0

No problem. Great product. Thanks very much.

You cannot reply to this topic.