Skip to main content
Participant
March 6, 2023
Answered

Photoshop 2020 Export Layers to Files taking forever to complete

  • March 6, 2023
  • 1 reply
  • 5073 views

I have a PSD file with hundreds of layers categorized in groups and I am simply trying to export all of the layers as PNG files using File-> Export -> Layers to Files. But every time I do that it seems to go through some batch processing where the tabs in Photoshop (21.2.12 Release) seems to cycle through each layer individually and it takes forever to export a single PNG file. Im talking like one PNG file per 30 minutes?? How do I go about doing this in a much quicker manner, ideally with not having to export each file manually but rather export them all in one shot into separate folders based on the group layer name.

This topic has been closed for replies.
Correct answer Stephen Marsh

Thanks so much for the response. I really appreciate it!! Unfortunately it doesnt look like the Export As or Quick Export As PNG will work because that option seems to want to export the layers as a single file instead of exporting each layer as a separate PNG file which is what I need. My PSD file has many layer groups and I need to export each layer from all of the layer groups as separately named PNG files. Is there a specific script you would suggest I could use that would allow me to do something like that. Thx i nadvance : ) 


Hang on, please read my instructions again, especially the bolder bit below:

 

Use the Select > Select All Layers menu item or manually select the required layers and then right-click in the Layers panel and select Export As or Quick Export As PNG

 

Edit: Sorry, the top-level layer group and it's contents are treated as a single layer.

 

If you had three top-level layer groups, each containing 5 layers, then selecting all top-level layer groups and using the layer panel right-click export would result in 3 separate PNG files, not 15.

 

Edit 2: The above being said, if you select all layers in each layer group, but don't select the layer group, then only the selected layers will be exported when you right click in the layer panel! So all 15 layers would be exported, but the 3 parent groups wouldn't be exported. Please try it!

 

 

1 reply

Kevin Stohlmeyer
Community Expert
Community Expert
March 6, 2023

Hi @Russ27591138ymen where are you saving your files to? Local HD or ?

Also check your Apple System Preferences/Security and Privacy/Full Disk Access and make sure PS is lised.

Participant
March 6, 2023

Hi Kevin. Thanks so much for the quick response. Correction to my original post I am running PS 2023. And I am saving the files locally on my hard drive. I added PS to have full disck access as you suggested, quit PS and then re-opened the same PSD and tred to export the files the exact same way and I'm having the same issue where the files are exported soooo slowly. From a system resources perspective the laptop Im running it from seemes fine. My machine has 16GB of RAM and only 13GB are currently in use. 

 

I just now installed PS 2023 on a Windows desktop that I have and I seem to be having the same exact issue. Where it looks like it is cycling through all of the layers in the layers panel but file are not being exported.  It seems to take upwards of 30 minutes to an hour for the first exported file to be produced and then each subsequent exported file gets produced almost 20-30 minutes after each subsequent file and so on and so forth all extremely slowly than I would expect. And at this current rate it would weeks for me export all of the layers as PNG files? 

 

I've also tried with the setting to export 'visible layers only' and I'm having the same results.

 

Any suggestions on what I can try? Thx very much in advance.

Stephen Marsh
Community Expert
Community Expert
March 7, 2023

It's an "old" script and has to cycle through each layer/group, making the others invisible, then saving and then repeating. You didn't mention your file properties such as canvas size, bit-depth, colour mode etc. That being said, it shouldn't take that long!

 

A more modern feature is to use Export As from the layers panel. Use the Select > Select All Layers menu item or manually select the required layers and then right-click in the Layers panel and select Export As or Quick Export As PNG if you have set up your quick export options as required.

 

Edit: I forgot to mention that there are also other scripts for the task:

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx

 

 
And finally, you could also use Adobe Generator - Generate Image Assets:
 
 
There are many scripts available to add ".png" and or other generator codes to all or selected layer names for use with Generator.