Problem with recursive resize - RealWorld forums

Log-in or register.

Problem with recursive resize

ollie
on September 10th 2009

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.

Vlasta
on September 10th 2009

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 .

ollie
on September 10th 2009

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 .

Vlasta
on September 10th 2009

-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.

ollie
on September 11th 2009

Thanks again.

ollie
on September 11th 2009

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.

Vlasta
on September 12th 2009

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.

ollie
on September 13th 2009

No problem. Great product. Thanks very much.

Page views: 8408       Posts: 8      
You cannot reply to this topic.
What about ICL files?
Select background
Vista & Win 7 icons