Tag Archives: Data Specifications

Layer Object Simplified Format

Input format of jamLayers.toLayerObject. Output format of jamLayers.fromLayerObject. Used by the following creative scripts: Simplified format Defined as a JSON object: {     “adjustmentLayer”: adjustmentLayer } or {     “contentLayer”: contentLayer } or {     “layer”: layer } or {     “layerSection”: layerSection } … Continue reading

Tagged , , , , , , | Comments Off on Layer Object Simplified Format

Layer Text Object Simplified Format

Input format of jamText.toLayerTextObject. Output format of jamText.fromLayerTextObject. Used by the following utility script: Simplified format Defined as a JSON object: {     “layerText”: layerText,     “typeUnit”: typeUnit } layerText : JSON object in Layer text format typeUnit : string (among Type … Continue reading

Tagged , , , , | Comments Off on Layer Text Object Simplified Format

Blending Options Object Simplified Format

Input format of jamStyles.toBlendOptionsObject. Output format of jamStyles.fromBlendOptionsObject. Used by the following utility scripts: Used also by the creative script: Simplified format Defined as a JSON object: {     “mode”: mode,     “opacity”: opacity,     “fillOpacity”: fillOpacity,     “channelRestrictions”: channelRestrictions,     “knockout”: knockout,     “blendInterior”: blendInterior, … Continue reading

Tagged , , , , , | Comments Off on Blending Options Object Simplified Format

Document Mode Object Simplified Format

Input format of jamStyles.toDocumentModeObject. Output format of jamStyles.fromDocumentModeObject. Used by the following utility scripts: Simplified format Defined as a JSON object: {     “colorSpace”: colorSpace,     “depth”: depth } colorSpace : [optional; “RGBColor” by default] string (among “CMYKColorEnum”, “grayScale”, “labColor”, “RGBColor”) depth … Continue reading

Tagged , , , , | Comments Off on Document Mode Object Simplified Format

Layer Effects Object Simplified Format

Input format of jamStyles.toLayerEffectsObject. Output format of jamStyles.fromLayerEffectsObject. Used by the following utility scripts: Used also by the creative script: Simplified format Defined as a JSON object: {     “scale”: scale,     “bevelEmboss”: bevelEmboss,     “frameFX”: frameFX,     “innerShadow”: innerShadow,     “innerGlow”: innerGlow,     “chromeFX”: chromeFX, … Continue reading

Tagged , , , , , , | Comments Off on Layer Effects Object Simplified Format

JSON AM Data Format

JSON AM Descriptor A descriptor in JSON AM Data Format is represented as a JSON object { } (not to be confused with the Photoshop API Object type, whose tag is “<object>” as described below), where each item in the … Continue reading

Tagged , , , | Comments Off on JSON AM Data Format

Gradient Object Simplified Format

Input format of jamHelpers.toGradientObject. Output format of jamHelpers.fromGradientObject. Used by the following utility scripts: Explicit format Solid gradient Defined as a JSON object:{    “name”: name,    “gradientForm”: gradientForm,    “interpolation”: interpolation,    “colors”: colors,    “transparency”: transparency} name : string (or null in input)gradientForm : string (required to be … Continue reading

Tagged , , , , | Comments Off on Gradient Object Simplified Format

Rectangle Object Simplified Format

Input format of jamHelpers.toRectangleObject. Simplified format Defined as a two-element JSON array: [ rectangle, unit ] rectangle : four or five-element JSON array:[ left, top, right, bottom ] or [ left, top, right, bottom, radius ] left : numbertop : … Continue reading

Tagged , , , | Comments Off on Rectangle Object Simplified Format

Rational Point List Simplified Format

Input format of jamHelpers.toRationalPointList. Simplified format Defined as a two-element JSON array: [ rationalPoints, unit ] rationalPoints : JSON array of rational points, each one being a two-element JSON array:[ horizontal, vertical ] horizontal : numbervertical : number unit : … Continue reading

Tagged , , , | Comments Off on Rational Point List Simplified Format

Point List Simplified Format

Input format of jamHelpers.toPointList. Output format of jamHelpers.fromPointList. Simplified format Defined as a two-element JSON array: [ points, unit ] points : JSON array of points, each one being a two-element JSON array: [ horizontal, vertical ] horizontal : numbervertical … Continue reading

Tagged , , , | Comments Off on Point List Simplified Format

Path Component List Simplified Format

Input format of jamHelpers.toPathComponentList. Output format of jamHelpers.fromPathComponentList. Explicit format Defined as a JSON object:{    “pathComponents”: pathComponents,    “unit”: unit} pathComponents : JSON array of path components, each one being a JSON object:{    “shapeOperation”: shapeOperation,    “subpathListKey”: subpathListKey,    “windingFill”: windingFill} shapeOperation : string (among “add”, “intersect”, “subtract”, … Continue reading

Tagged , , , , | Comments Off on Path Component List Simplified Format

Point Object Simplified Format

Input format of jamHelpers.toPointObject. Simplified format Defined as a two-element JSON array: [ point, unit ] point : two-element JSON array: [ horizontal, vertical ] horizontal : numbervertical : number unit : string (among “distanceUnit”, “percentUnit”, “pixelsUnit”) Example [ [ … Continue reading

Tagged , , , | Comments Off on Point Object Simplified Format

Offset Object Simplified Format

Input format of jamHelpers.toOffsetObject. Simplified format Defined as a two-element JSON array: [ offset, unit ] offset : two-element JSON array: [ horizontal, vertical ] horizontal : numbervertical : number unit : string (among “distanceUnit”, “percentUnit”, “pixelsUnit”) Example [ [ … Continue reading

Tagged , , , | Comments Off on Offset Object Simplified Format

Integer List Simplified Format

Input format of jamHelpers.toIntegerList. Output format of jamHelpers.fromIntegerList. Simplified format Defined as a JSON array of numbers (integers). Example [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, -8, 1, 0, 0, 1, 1, 1, 0, … Continue reading

Tagged , , , | Comments Off on Integer List Simplified Format

Hue/Saturation Adjustment List Simplified Format

Input format of jamHelpers.toHueSatAdjustmentV2List. Simplified format Defined as a JSON array of hue/saturation adjustments, each one being a JSON array of three or eight elements: type value master [ hue, saturation, lightness ] local range [ localRange, beginRamp, beginSustain, endSustain, … Continue reading

Tagged , , , | Comments Off on Hue/Saturation Adjustment List Simplified Format

Ellipse Object Simplified Format

Input format of jamHelpers.toEllipseObject. Simplified format Defined as a two-element JSON array: [ ellipse, unit ] ellipse : four-element JSON array: [ left, top, right, bottom ] left : numbertop : numberright : numberbottom : number unit : string (among … Continue reading

Tagged , , , | Comments Off on Ellipse Object Simplified Format

Custom Shape Object Simplified Format

Input format of jamHelpers.toCustomShapeObject. Simplified format Defined as a two-element JSON array: [ customShape, unit ] customShape : five-element JSON array: [ name, left, top, right, bottom ] name : stringleft : numbertop : numberright : numberbottom : number unit … Continue reading

Tagged , , , , | Comments Off on Custom Shape Object Simplified Format

Curves Adjustment List Simplified Format

Input format of jamHelpers.toCurvesAdjustmentList. Simplified format Defined as a JSON array of curves adjustments, each one being a two-element JSON array:[ channel, curve ] channel : string curve : two-element JSON array: [ curveType, curveValue ] curveType : string (either … Continue reading

Tagged , , , | Comments Off on Curves Adjustment List Simplified Format

Curve Point List Simplified Format

Input format of jamHelpers.toCurvePointList. Output format of jamHelpers.fromCurvePointList. Explicit format Defined as a JSON array of curve points, each one being a JSON object:{    “horizontal”: horizontal,    “vertical”: vertical,    “continuity”: continuity} horizontal : number (0 to 255)vertical : number (0 to 255)continuity : boolean … Continue reading

Tagged , , , , , | Comments Off on Curve Point List Simplified Format

Color Object Simplified Format

Input format of jamHelpers.toColorObject. Output format of jamHelpers.fromColorObject. Explicit format Defined as a JSON object: Color class JSON object Book color {     “book”: book,     “name”: name,     “bookID”: bookID,     “bookKey”: bookKey }or {     “book”: book,     “name”: name }or {     “bookID”: bookID, … Continue reading

Tagged , , , , , | Comments Off on Color Object Simplified Format