Tag Archives: JavaScript

Examples of Color Ramp Formulas

Description is a stand-alone script written in JavaScript used to create a 256-color ramp programmatically. The script makes use of formulas which are saved as plain JSON text files containing all the necessary information. These files can later be used … Continue reading

Tagged , , , , , , , , , | Comments Off on Examples of Color Ramp Formulas

Get Nearest Book Color

Description “Get Nearest Book Color” is a color books utility script using the scripting library. This stand-alone script written in JavaScript lets you interactively get from a Photoshop color book file (.acb) the nearest book color to any given RGB … Continue reading

Tagged , , , , | Comments Off on Get Nearest Book Color

List Color Book File Colors

Description “List Color Book File Colors” is a color books utility script using the scripting library. This stand-alone script written in JavaScript lets you list in JSON text format all available colors (name and component values) from a Photoshop color … Continue reading

Tagged , , , , | Comments Off on List Color Book File Colors

Links

Photoshop Scripting Documentation Photoshop Scripting Documentation File Formats Adobe Photoshop File Formats Specification Adobe Color Book File Format Specification Forums PS-SCRIPTS.COM PS-Scripts (2015-03-15 archive) Photoshop Scripting Forum JavaScript Javascript JSLint JavaScript | MDN Standard built-in objects JSON JSON JSONLint – … Continue reading

Tagged , , , , , , , , , , , , | Comments Off on Links

Color Books

Two custom color book files (.acb) based on the W3C and X11 sets of color names are currently available. They must be placed in the Presets/Color Books/ folder, in the default preset location of the Adobe Photoshop application. Each color … Continue reading

Tagged , , , , , , , , | Comments Off on Color Books

Create Color Ramp

Description “Create Color Ramp” is a color ramps script using the scripting library. This stand-alone script written in JavaScript is used to create a 256-color ramp programmatically. Since a color ramp is assumed to be defined as an ordered set … Continue reading

Tagged , , , , , , , , , , | Comments Off on Create Color Ramp

Get Layer Info Code

Description “Get Layer Info Code” is a code utility script using the scripting library. This stand-alone script written in JavaScript opens a dialog box with a text field containing the code used to get information in from the currently active … Continue reading

Tagged , , , | Comments Off on Get Layer Info Code

Poster Effect Gallery

Description “Poster Effect Gallery” is a special effects script using the scripting library. This stand-alone script written in JavaScript applies on an existing RGB image a preset color posterization effect, made of a stack of fill layers associated with masks … Continue reading

Tagged , , , , , , , , , , , | Comments Off on Poster Effect Gallery

Change Layer Content

Description “Change Layer Content” is a special effects script using the scripting library. This stand-alone script written in JavaScript lets you change the content of the currently selected layer (fill layer or adjustment layer), preserving any associated masks and styles. … Continue reading

Tagged , , , , , , , , , , , | Comments Off on Change Layer Content

Get Patterns File Info

Description “Get Patterns File Info” is a patterns utility script using the scripting library. This stand-alone script written in JavaScript lets you get basic information from a Photoshop patterns file (.pat) or a patterns preferences file (Patterns.psp). The information is … Continue reading

Tagged , , , , | Comments Off on Get Patterns File Info

Get SVG Code from Path

Description “Get SVG Code from Path” is a paths utility script using the scripting library. This stand-alone script written in JavaScript allows you to get SVG code from any currently selected path in the Paths palette. It opens a dialog … Continue reading

Tagged , , , , , | Comments Off on Get SVG Code from Path

Get Binary File Data String

Description “Get Binary File Data String” is a miscellaneous utility script using the scripting library. This stand-alone script written in JavaScript generates a string representing the data of a binary file. This is especially useful for embedding a small image … Continue reading

Tagged , , , | Comments Off on Get Binary File Data String

Scripts

Scripts fall into two main categories: JavaScript creative scripts for Adobe Photoshop, making use of the scripting library. JavaScript utility scripts for Adobe Photoshop, making use of the scripting library.

Tagged , , | Comments Off on Scripts

CIDR Calculator

CIDR to IP Range CIDR:  Ex.: 192.0.0.1/25 IP Range: IP Range to CIDR List IP Range:  Ex.: 192.168.1.1 - 192.168.1.12 CIDR List: Notes: This CIDR calculator makes use of pure client-side JavaScript code. A self-contained HTML page is also available; once saved … Continue reading

Tagged , , | Comments Off on CIDR Calculator

Preview Custom Shapes File

Description “Preview Custom Shapes File” is a custom shapes files utility script using the scripting library, and more specifically its module jamShapes. This stand-alone script written in JavaScript is used to graphically preview a Photoshop custom shapes file (.csh) or … Continue reading

Tagged , , , , , | Comments Off on Preview Custom Shapes File

Convert Custom Shapes File to SVG Set

Description “Convert Custom Shapes File to SVG Set” is a custom shapes files utility script using the scripting library, and more specifically its module jamShapes. This stand-alone script written in JavaScript is used to convert a custom shapes file (.csh) … Continue reading

Tagged , , , , , , | Comments Off on Convert Custom Shapes File to SVG Set

JSON Action Toolbox

Description “JSON Action Toolbox” is a developer-oriented set of automation plug-ins for Adobe Photoshop running on Mac OS X, and is distributed as Freeware. It is originally a combination of a “JSON Event Listener” and “JSON Property Getter” modules, with … Continue reading

Tagged , , , , , , | Comments Off on JSON Action Toolbox

JSON Action Manager

Description “JSON Action Manager” is an open-source scripting library for Adobe Photoshop, written in JavaScript, and licensed using GPLv3. It allows developers to interact with the underlying Action Manager using a simpler (please refer also to the page to get … Continue reading

Tagged , , , , , , , , , , , , , , , | Comments Off on JSON Action Manager

Combine Adjustment Layers

Description “Combine Adjustment Layers” is a color ramps script using the scripting library. This stand-alone script written in JavaScript is used to combine the effect of cumulated adjustment layers into a single curves adjustment layer. It creates a new basic … Continue reading

Tagged , , , , , | Comments Off on Combine Adjustment Layers

Visualize Adjustment Layers

Description “Visualize Adjustment Layers” is a color ramps script using the scripting library. This stand-alone script written in JavaScript allows you to create a specialized RGB document used to interactively visualize (as curves map, gradient map and color table) the … Continue reading

Tagged , , , , , | Comments Off on Visualize Adjustment Layers