I'm hoping I can write this clearly.

I have a document with a number of cutout images in it on a transparent background. We want to resize each image so that the longest edge (either height or width) is 5inches. Is there an action I can set up to do this?

If I apply 'fit image' it just changes the overall size.

Any help much appreciated, I'm sure I'm missing something quite obvious!

  • It would be slightly easier if you have those images in a folder in you OS. Is there perhaps a reason why you'd have all those images inside one document? Something like this perhaps?
    – Joonas
    Commented Oct 17, 2014 at 14:30

2 Answers 2


You were close! I created an action with the following steps:

  1. Layer > Smart Object > Convert to Smart Object
  2. Layer > Smart Object > Edit Contents
  3. File > Automate > Fit Image (set your size requirements here)
  4. File > Save
  5. File > Close
  6. Layer > Smart Object > Rasterize Image

This does what you were trying to do, but treats each layer you apply it to as its own file. Should do what you're looking for. If you'd like to just use my .ATN Action file, here's a link (CS5).


You can also do this in Adobe Fireworks. Here is an article on how to do it.

  • Please consider building an answer from the relevant elements of the article you link to. If the link fails there won't be any content to speak of! Thank you!
    – user29318
    Commented Nov 17, 2014 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.