Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Targa files. #8

Merged
merged 18 commits into from
Jun 20, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
* comments improved
  • Loading branch information
Simon committed Jun 6, 2014
commit dce06ad480b589f824f0e085293572a31a843ab4
9 changes: 6 additions & 3 deletions Export Layers To Files (Fast).jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
// * PNG
// * JPEG
// * Targa
// These files will be created in the current document folder (same as working PSD).

// REQUIRES:
// Adobe Photoshop CS2 or higher

//Most current version always available at: https://github.com/skjorn/Photoshop-Export-Layers-as-Images
// Most current version always available at: https://github.com/skjorn/Photoshop-Export-Layers-as-Images

// enable double-clicking from Finder/Explorer (CS2 and higher)
#target photoshop
Expand All @@ -23,7 +22,7 @@ app.bringToFront();
bootstrap();

//
// Application code
// Processing logic
//

function main()
Expand Down Expand Up @@ -172,6 +171,10 @@ function forEachLayer(inCollection, doFunc, result, traverseInvisibleSets)
return result;
}

//
// User interface
//

function showDialog(rsrc)
{
// build dialogue
Expand Down