Skip to content

Instantly share code, notes, and snippets.

View leonidumanskiy's full-sized avatar

leonidumanskiy

View GitHub Profile
@leonidumanskiy
leonidumanskiy / Photoshop-LayersToPNG.jsx
Created July 15, 2017 19:42 — forked from NathanSweet/Photoshop-LayersToPNG.jsx
Adobe Photoshop script to export to Esoteric Software's Spine: http://esotericsoftware.com/
// This script exports photoshop layers as individual PNGs. It also
// writes a JSON file that can be imported into Spine where the images
// will be displayed in the same positions and draw order.
// Setting defaults.
var writePngs = true;
var writeTemplate = false;
var writeJson = true;
var ignoreHiddenLayers = true;
var pngScale = 1;