Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

Is there a way to maintain the transparency of layers when loading files into a stack?

Community Beginner ,
Jun 14, 2023 Jun 14, 2023

I have about 40 images saved as PSDs that I have prepped on a transparent background. I would like to load these images into a single photoshop file. However, when I select the images in bridge or in PS and ask PS to "Load Files into Photoshop Layers",  Photoshop creates layers from each image, but also adds a white background to each of the layers, not maintaining the trasnparency in each of the PSDs. Is there a way around this?

 

Ultimately, I am in the process of making stop motion animations from the Timeline palette. The client wants the abilty to change the background layer, so I am trying to build that in by maintaining the transparency I already have built in each of the individual PSDs.

TOPICS
Actions and scripting
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 14, 2023 Jun 14, 2023

Hi @johnm74179594 

The best solution I could find was converting the transparent layer in each file to a Smart Object first. It seems to protect the contents and not allow the Stack Script to add the white background.
If you then needed to extract the original layer contents, you can right click on the layer and choose Convert to Layers.

I realize it might be a pain to go back through all those files, maybe create an action or script to automate the Smart Object conversion?
Lmk how it goes!

Sef

Translate
Adobe
Community Expert ,
Jun 14, 2023 Jun 14, 2023

Hi @johnm74179594 

The best solution I could find was converting the transparent layer in each file to a Smart Object first. It seems to protect the contents and not allow the Stack Script to add the white background.
If you then needed to extract the original layer contents, you can right click on the layer and choose Convert to Layers.

I realize it might be a pain to go back through all those files, maybe create an action or script to automate the Smart Object conversion?
Lmk how it goes!

Sef

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 14, 2023 Jun 14, 2023

That's a good idea, I'll try a quick script and see if that works. I'll report back.

 

Thanks! @Sef McCullough 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 14, 2023 Jun 14, 2023

That did work! A little clunky, but the action made quick work of things... Now I can tweak the build on the next animations, so this should be a good work around! Thanks again @Sef McCullough 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 19, 2023 Jun 19, 2023

Nice work @johnm74179594  - please follow up if you find any additional tricks.

Load Files Into Stack is a pretty old script. I'd be curious to know who the original author is. But chances are good it hasn't been modified since it's original inception. If anyone has more info, I'd love to hear it!

Sef

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 01, 2025 Aug 01, 2025

A similar problem: when trying to fusion two layers in the timeline and they have transparency, it wont work how it affects the layer beneath; any ideas to achieve it respects the same aspect but in one layer in the timeline?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 01, 2025 Aug 01, 2025
LATEST

I have written alternative scripts to the standard stacking script:

 

 
 
Rather than stacking on top of each other, sometimes the requirement is to stack to a horizontal or vertical strip:

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-combine-images-horizontally-vi...
 
Rather than stacking all images into a single file, sometimes the requirement is to stack into layered sets of 2, 3 or more images, creating multiple files:
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines