Skip to content

mrijk/clj-atn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-atn

Clojure code to parse Photoshop action files

Example 1:

clj-atn.core=> (read-atn "Fragment.atn") {:actions ({:nr-action-events 1, :expanded 1, :name "Action 1", :color-index 0, :command-key 0, :shift-key 0, :index 0}), :nr-actions 1, :expanded 1, :set-name "Fragment", :version 16, :filename "Fragment.atn"}

Example 2:

clj-atn.core=> (write-json (read-atn "Fragment.atn") "/tmp/Fragment.json")

Writes the following file contents:

{
    actions: [
        {
            nr-action-events: 1,
            expanded: 1,
            name: "Action 1",
            color-index: 0,
            command-key: 0,
            shift-key: 0,
            index: 0
        }
    ],
    nr-actions: 1,
    expanded: 1,
    set-name: "Fragment",
    version: 16,
    filename: "Fragment.atn"
}

About

Clojure code to parse Photoshop action files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published