graphicxtras.comtutorialsPhotoshop general tutorials

How to use Adobe Generator for Photoshop Tutorial and Image Assets

adobe generator image assets export

The Adobe Generator in Photoshop CC 2017 2015 etc is a powerful export tool for files using layers and a naming convention for the export. The Adobe generator is turned on via the file menu generate. The Adobe generator then generates images instantly to the desktop or a sub folder of the file's folder. The language for the exports is set via the layer panel. You can export images in multiple sizes via the layer panel such as 100% or 50% or 400% etc. The Adobe generator for Photoshop can also set the name of the exported file as well as the format of the exported Photoshop layer file such as PNG or JPG or SVG etc. You can simply set an Adobe generator layer name as 400% layername.svg etc. The export of resources is super easy to use and means work can be saved quickly and safely while you work in Photoshop. To generate multiple files, separate the names of the files for the Adobe generators by commas. This tutorial shows you the assets generated such as PNG and SVG. This tutorial also shows the commands to use and the basic language to use with the layer panel. 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.

  1. File menu

  2. Generate

  3. Image assets

  4. Create layers such as shape layers

  5. Layers panel

  6. Rename layer names to PNG etc files

Adobe Generator for Photoshop image assets / Assets generated

adobe generator layer in PhotoshopThe 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

  1. PNG (PNG24, PNG, PNG8,PNG32.

  2. JPG

  3. GIF

 

All the assets generated can be modified by the Photoshop adobe generator 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 Photoshop Adobe Generator, you need to turn it on again (which I think is quite fine as you might not need it for every task)

Photoshop layers and Adobe generator

adobe generator photoshopThe 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 / Photoshop Adobe Generator being

  1. Text layers

  2. Custom shapes layers

  3. Pattern layers

  4. Gradient layers

  5. Brushes on layers

  6. Text on layers / paths etc

  7. and much more

 

As the Photoshop Adobe Generator doesn't care about the position etc of the asset, the layer comps is of no use with the P.A.G.

Export of assets using Generator

photoshop adobe generator assets

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.

 

Photoshop Adobe generator language

svg generated fileYou 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

  1. 400% name1.png,

  2. 200% name2.png,

  3. 100% name3.png,

  4. 50% name4.png

 

You can also set the file to be a name1.svg just to generate a standard vector svg file from a custom shape etc

 

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 Photoshop Adobe Generator 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 in creative cloud

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 ?

Tutorials

You can find out more about Photoshop such as

1. how to use Photoshop custom shapes with the new CC creative cloud 2017 2015 libraries

2. how to use the Photoshop search feature for help and stock photos with the CC 2017 release and beyond a

3. how to open and place PDF vector shapes in Photoshop tutorial

Video tutorial

[Youtube] A quick guide to the new Photoshop Adobe generator / image assets tutorial