Link to home
Start Free TrialLog in
Avatar of rouxjean
rouxjean

asked on

Batch processing Save for Web

OK here is what I'd like to do:
From my original files (1024*768), create a batch script that will resize them to fit my web photo-album (500*375 max 35-40k, this is important). Since my web album is thumbnailed, I need another copy of my images in 100*75 (around 2k max) resolution.
The 500*375 images should keep the original file names while the 100*75 ones should have "_thumb" after the filename, just before the file extension. This is for better server-side processing.
It is my understanding that I need to work with the Save for Web option since getting a 35k filesize with a 500*375 photo is almost impossible with the regular save as dialog box. Even if it is doable, it's just impossible to automate a script using the regular Save As windo (to my knowledge), we never know which quality setting (0-8) will be required for a given filesize. Also, when I work with the Save for Web option, I need to check the : Override Action "Save As" Commands so the script works properly. How can I rename my thumbnail images (100*75) having checked that option, the file naming section is obviously not working anymore ???
Please help !
ASKER CERTIFIED SOLUTION
Avatar of thinkwelldesigns
thinkwelldesigns
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You might also try this open source software

http://www.naaman.net/ps.html 

The disadvantage is that you must have dot net framework 1.1 installed for it to work.
Avatar of rouxjean
rouxjean

ASKER

My large images and the thumbnail images will be in the same directory. The original files will be in a different folder. So if I understand correctly, I run one batch keeping the same file name and resizing them to 500*375 with the Save for Web option. I then run another script that takes the original files but that simply renames them. Then my 3rd script would take the renamed files, resize them too 100*70 and use the Save for Web that will now work because the files are already renamed. My question is this: How can I ensure that the 3rd step actually takes ONLY the files with "_thumb" in their filename ??? (remember that both 500*375 and the 100*70 images are in the same directory now !!!)
Thanks
Here is what I would do. At the 2nd action which renames the files, I would select the radio button "move to a new folder" for the renamed images.

Then run the 100*70 action on the files in this new folder, and then drag the files back into the original folder with the large images.

I guess that is somewhat circuitous, if someone has a better option...
Is there a way for me to run the 3 scripts all together avoiding running them one by one manually ?
Oh and there is an extra 500 of you can anser/solve that :
https://www.experts-exchange.com/questions/21485965/Save-for-Web-question.html
:o)
I am going to guess the only way to automate all 3 functions is to do it programmically, which I am unable to do...
Glad I could help in some way. Thanks for the grade and points!