What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Batch resize canvas with different image sizes and layers


Messages
5
Likes
0
Hi there,

Im an absolute newbie in Photoshop, I build my knowledge on what I pick up on forums etc. Keep that in mind when you answer my question:P

I have a batch of 450 photo's in .psd format that are all aprox. 3000 px height x 1000 px wide. They are pictures of wine bottles standing up. My goal is to get 450 photo's with a canvas size of 3040px x 3040px

After some hours of google and photoshop forums I found out how to batch resize the canvas by creating a Photoshop Action. I processed the whole batch, but I ran into a problem:

The image properties aren't identical. Some have 1 layer with just the wine bottle, some have multiple layers with a bottle, seperate bottlelabel and bottleneck. They are also similair resolutions, but not exactly the same. If I resize them using the action I created some photo's come out weird: with the top of the bottle cut of or with a black canvas. Weird! I tried saving the .psd as .jpg and then running the action but that didnt work either...

What did I do wrong and/or is this even possible?
 
when all images are aprox 3000 x 1000
and you have an action that makes them exact 3000 x 1000
the action will cut off if the image is higher than 3000 , and creates extra canvas if the image is less high

that's normal

so the collage needs more work then just a 'one click'-action

if you have 12 x 36 photo's it makes a perfect square but only =432 photo's , does it have to be exact 450

how are the photo's looking , do they have similar backgrounds , can you provide a contactsheet for us?
 
I have a batch of 450 photo's in .psd format that are all aprox. 3000 px height x 1000 px wide. They are pictures of wine bottles standing up. My goal is to get 450 photo's with a canvas size of 3040px x 3040px

If you start with images that are approximately 1000px (w) x 3000px (h) and you want to end up with images that are 3040px (w) x 3040px (h) then you are going to either add a lot of extra space on the left and/or right sides of the images, or stretch/distort the images. How do you want to handle that? Do you want to have black bars on the sides, white bars, transparent? Do you want the space to be evenly distributed to both left and right, or only to one side?

Do you want to save the new images as PSD files, or PNG, JPG, or some other format?
 
What I would like to end up with is 3040 x 3040 with as little as possible white space on the bottom and top (but some white is fine). White space on left and right side is exactly what I need:)

So centered wine bottle, left and right side filled with any amount of white space and top + bottom white space as small as possible. I would like to save the files with 'Save for web'
 
Ok, if none of your images are greater than 3040px in width or height then you can use an action to adjust the canvas size to 3040px for both width and height. It should do exactly what you want if you leave the anchor point at default settings and select white for the Canvas extension color.

Record an action with the following:

Image -> Canvas Size
- Set width and height to 3040 px.
- Leave anchor point in the center.
- Set Canvas extension color to white

It should look like this:

3040-action.png

File -> Save for Web
- Set desired image format (JPG probably)
- Set Matte to white.
 
Ok, it looks like all of the heights are greater than 3040, but none of the widths. This makes it very easy.

Add one step in your action at the beginning:

Image -> Image Size
- Set height to 3040 px

Then proceed with the steps mentioned above (Canvas Size, Save for Web).

It should give you the desired result.
 
You are fantastic my friend! It works! Now I have one more question: due to some uncooperative colleagues I was able to create the 100% perfect action in Photshop CS, but now I have to run in it Elements 9 (which is installed on my own computer, they won't let me use theirs...). I imported the action in Elements already, and again it works fine, but I can't seem to find a way to apply the action to a batch of photo's. I can only apply it to one single photo at a time and have to click 'OK' and 'Save' buttons every time. Is there a way to apply the action to a batch of photo's in Elements?
 
Glad to hear it worked well for you.

Sorry but I don't have any experience with batch processing in Elements. Maybe another user can help you with that.
 

Back
Top