Skip to content

Instantly share code, notes, and snippets.

Avatar

pharan pharan

View GitHub Profile
@pharan
pharan / LayersToPNG.jsx
Created Jan 27, 2016 — forked from nzhul/LayersToPNG.jsx
Spine 2D - LayersToPNG.jsx fix for Photoshop CC
View LayersToPNG.jsx
// 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;
You can’t perform that action at this time.