Skip to content

cri5ti/ai-layers-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

What is it

This script is based on Jon Hicks original SaveLayersAsPNG script which exports the top layers one by one.

When you're working on some big UI designs, you usually have lots of layers and sublayers, things that have to always stay visible, or some more complex scenarios. This script will export layers recursively based on some flags at the end of the layer name.

Layer flags

You can add a special flag at the end of a layer to control it's rendering:

  • (+) - always visible - good for backgrounds, headers and footers, ...

  • (-) - ignore layer

  • (~) - popup layer - useful for overlays and popups, the script will export once with the layer hidden, and once visible.

  • no flag -

Example

Exported files:

acme-home-hovering-(~).png
acme-home-popup-(~).png
acme-home.png
acme-product-big-(~).png
acme-product.png

About

An Illustrator script to export layers to png.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published