×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Resizing using a batch process

Resizing using a batch process

Resizing using a batch process

(OP)
Hi
I have a large number of graphics that need manipulating for an online shop, the graphics are not all the same pixel size, nor can I use percentage because they vary wildly in size. I need to resize them to start with down to either 500px wide or high depending on whether they are 'landscape' or 'portrait'.
I created scripts to do either a 500px resize on width or height, but when I run the script through a batch process to, say, make the 'portrait' images 500px high, it resizes them all to exactly the same pixel size on the width too even though I had Lock Aspect Ratio checked when I recorded the script. It seems to me that it gets the width from the first image run through and then repeats that on all the subsequent images.
Is it possible to run a script that just makes either the width or height a certain number of pixels but allows the images to remain proportionally correct?

Thanks for any advice.

RE: Resizing using a batch process

Hi

If you use this script written by Gary Barton and run it in batch mode,(silent) you can resize all photos to the same maximum size whether portrait or landscape. The default is set to 400 pixels. You can edit the script to be whatever size you want. Always make a copy or work with a copy of your photos when using this. DO NOT RESIZE YOUR ORIGINALS!!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close