Picture Resize - Multiple resize - RealWorld forums

Log-in or register.

Picture Resize - Multiple resize

Multiple resize @ one time
oufti
on January 11th 2007

Hello, first of all, really usefull utility, thanks a lot.

My question, is there's a way to resize an image 2 times with one action ? For example -w533 & -w120 ?

Thanks in advance.

Vlasta
on January 11th 2007

Well, yes, but only from command line, because you would need to specify the input image path twice:

PhotoResize.exe -w522 C:\Image.jpg -w120 C:\Image.jpg

oufti
on January 11th 2007

Thanks Vlasta, but I was thinking of a way to do it without the command line, in fact I have a friend who's a complete 0 at using computer, and he has to do this.

I thought more of drag and dropping his image on a shortcut who did this.

Well, he'll just have to drag it twice, it already a big improvment compares to how he used to do it before :-)

Vlasta
on January 11th 2007

I see, shortcut cannot be used, but you may use a .bat file to do trick. Create a .bat file with the following line in it:
"<path to PhotoResize.exe" -w522 %* -w120 %*

Be sure to specify full path to the tool and use quotes if the path contains spaces.

Then drag and drop the images on the created .bat file.

oufti
on January 11th 2007

Perfect !

But quite strange, it doesn't work on the *.bat directly but well on a shortcut of the *.bat file...

Thank you very much ! :-)

Page views: 1292       Posts: 5      
Select background
Vista & Win 7 icons
I wish there were...