Adobe generator Introduced in September 13 in the new update 14.1 for Photoshop CC. The tool needs to to be turned on via the file menu generate and image assets. Once turned on, all assets are generated either on the desktop or as a sub folder of the file folder.
The Photoshop Adobe generator is a great feature for use for all kinds of assets as well as web design and resources (particular interest for me). The following file formats can be generated
PNG (PNG24, PNG, PNG8,PNG32)
All the assets generated can be modified by the P.A.G language / script language. Of course, once you have the assets then you can modify them further. Note that the Adobe generator is on a file by file basis so next time you use the P.A.G , you need to turn it on again (which I think is quite fine as you might not need it for every task)
The key thing with the tool is to set the names via the layer. Instead of using layer 0, layer 1 etc you can change the layer name for the assets (for the Photoshop generator) to something like xxxx.PNG. The asset is then automatically saved as that file name in the location mentioned. The assets for the Photoshop layers / P.A.G being
Custom shapes layers
Brushes on layers
Text on layers / paths etc
and much more
As the P.A.G doesn't care about the position etc of the asset, the layer comps is of no use with the P.A.G. Once you have named all the layers as xxxx.png etc (the filename has to be unique) then all those layer assets are generated automatically. You can then use them in Edge, Dreamweaver etc as required.
You can go even further than this and use even more complex terms in the layer name so instead of calling the layers Photoshop generator 1.png etc you can also add a percentage size in front of the text layer name and shape layer name etc. So if you want to save a range of files with the different file sizes then you can type
400% name1.png, 200% name2.png, 100% name3.png, 50% name4.png
and so on and the P.A.G will save those files all the same layer but with different sizes and all PNG etc. You can set it to 2000% etc if you wish or whatever. You can also set the P.A.G to a custom size so the layer can be saved as a 100x100 name1.png, 200x200 name2.png etc or even 100 x 400 name3.png and so on. So if you have a text layer asset (perhaps a whole page of text) this can be saved as a document with a layer name of text1.png at 1000% the original size (relative to the document). Likewise, a pattern layer (fill pattern layer) can be saved as a pattern 5000 x 5000 in size as well as other sizes. Photoshop Adobe generator will take some time to process this so you should not expect the assets to appear instantly if you are creating large files (and I am certain here are limits on the size). Custom shapes can also be saved as raster format PNG or GIF or JPGs
Photoshop Adobe generator is great addition to Photoshop and hopefully one that can be extended to include a lot more features and expressions as well as file formats such as AI ?