D
D
Den Totsky2014-08-13 21:17:00
Automation
Den Totsky, 2014-08-13 21:17:00

Automating saving layers in Photoshop?

I want to bring all layers to a single format, for example, the final size should be 200x200, if the layer is not square, then keep it in the center, while stretching either the width or height of the document so that the frames do not go beyond the border of the document, and if the layer is larger than size 200x200, then reduce to its aisles. The file initially has a size larger than 200x200, and the layers are randomly scattered there.
And how to save layers with the same hierarchy as in Photoshop, i.e. if the layer is in the "Test" folder, then when saving, the "Test" folder should be created and the layer will be saved there
. I hope I explained it clearly.
If anyone has come across, tell me, in principle, it’s not critical, but working manually is painfully tiring.
P.s. I know there is a save function "File -> Scripts -> Export layers to files" but it does not save the hierarchy of folders and subfolders, i.e. dumps everything into a heap, while only adding a prefix (numeric) of each layer folder

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2014-08-13
@GavriKos

Photoshop has a scripting language, JavaScript-like. The manual for it is in the standard delivery of Photoshop. Your second Wishlist can easily be done on it, just by finalizing the "export layers to files" script. The first one is also possible.

A
artanets, 2014-08-14
@artanets

In my opinion, some of the Photoshop plugins could do this.
here you can see about plugins habrahabr.ru/post/214497
(Cut&Slice CS6 seems to be)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question