How to save multiple smart objects as separate image files in a single click?


I downloaded a psd file from some website. In that , it had various smart object layers in a single image. When i hit save, these smart object layers are saved as separate image files.

I don't know whether you understand my question or not. If you didn't, then see the image below (for example)

enter image description here

Consider the above image, these four colors are four separate smart object layers. When i hit save, each layer will be saved as separate files. Like below !

enter image description here

So how can i do this....?

5/26/2016 8:41:00 PM

Accepted Answer

You can easily do this with the built in script 'Export Layers to Files'. Just go to File -> Scripts -> Export Layers to Files.

There is an option to trim layers, which will export each layer at a size that fits its content, or at the size of the original document if it's turned off.

As far as I'm aware you can't do this specifically for smart objects, but you can only export visible layers, so just make the smart objects the only visible layers before running the script if there are other layers you don't need to export.

1/10/2016 4:47:00 PM