Constants
To use any constant, import the constants
object from the photoshop module first.
Copied to your clipboardconst {app, constants} = require("photoshop");await app.activeDocument.resizeImage(800, 600, 100,constants.InterpolationMethod.AUTOMATIC);
Enumerations
AnchorPosition
22.5The point around which to transform an object.
This is the point that does not move when an object is rotated or resized
Name | Description |
---|---|
BOTTOMCENTER | - |
BOTTOMLEFT | - |
BOTTOMRIGHT | - |
MIDDLECENTER | - |
MIDDLELEFT | - |
MIDDLERIGHT | - |
TOPCENTER | - |
TOPLEFT | - |
TOPRIGHT | - |
AntiAlias
24.1Method to use to smooth edges by softening the color transition between edge pixels and the background. Used in a CharacterStyle.antiAliasMethod
Name | Description |
---|---|
CRISP | - |
NONE | - |
SHARP | - |
SMOOTH | - |
STRONG | - |
ApplyImageBlendMode
24.5The kind of blending used in a Layer.applyImage operation.
Name | Description |
---|---|
ADD | - |
COLORBURN | - |
COLORDODGE | - |
DARKEN | - |
DARKERCOLOR | - |
DIFFERENCE | - |
DIVIDE | - |
EXCLUSION | - |
HARDLIGHT | - |
HARDMIX | - |
LIGHTEN | - |
LIGHTERCOLOR | - |
LINEARBURN | - |
LINEARDODGE | - |
LINEARLIGHT | - |
MULTIPLY | - |
NORMAL | - |
OVERLAY | - |
PINLIGHT | - |
SCREEN | - |
SOFTLIGHT | - |
SUBTRACT | - |
VIVIDLIGHT | - |
ApplyImageChannel
24.5Special channels used in Layer.applyImage.
Name | Description |
---|---|
CMYK | - |
LAB | - |
RGB | - |
SELECTION | - |
TRANSPARENCY | - |
ApplyImageLayer
24.5Use merged layers as a source in Layer.applyImage.
Name | Description |
---|---|
MERGED | - |
AutoKernType
24.1The type of kerning to use for characters. Used in CharacterStyle.autoKerning
Name | Description |
---|---|
MANUAL | - |
METRICS | - |
OPTICAL | - |
BMPDepthType
22.5Number of bits per channel (also called pixel depth or color depth).
The number selected indicates the exponent of 2.
Name | Description |
---|---|
EIGHT | - |
FOUR | - |
ONE | - |
SIXTEEN | - |
THIRTYTWO | - |
TWENTYFOUR | - |
Baseline
24.1The baseline style to use in text. Used in CharacterStyle.baseline
Name | Description |
---|---|
NORMAL | - |
SUBSCRIPT | - |
SUPERSCRIPT | - |
BitmapConversionType
22.5Specifies the quality of an image you are converting to bitmap mode. Used in BitmapConversionOptions
Name | Description |
---|---|
CUSTOMPATTERN | - |
DIFFUSIONDITHER | - |
HALFTHRESHOLD | - |
HALFTONESCREEN | - |
PATTERNDITHER | - |
BitmapHalfToneType
22.5Specifies the shape of the dots (ink deposits) in the halftone screen. Used in BitmapConversionOptions
Name | Description |
---|---|
CROSS | - |
DIAMOND | - |
ELLIPSE | - |
LINE | - |
ROUND | - |
SQUARE | - |
BitsPerChannelType
23.0The number of bits per color channel.
Name | Description |
---|---|
EIGHT | - |
ONE | - |
SIXTEEN | - |
THIRTYTWO | - |
BlendMode
22.5Blending mode
Name | Description |
---|---|
COLOR | - |
COLORBURN | - |
COLORDODGE | - |
DARKEN | - |
DARKERCOLOR | - |
DIFFERENCE | - |
DISSOLVE | - |
DIVIDE | - |
EXCLUSION | - |
HARDLIGHT | - |
HARDMIX | - |
HUE | - |
LIGHTEN | - |
LIGHTERCOLOR | - |
LINEARBURN | - |
LINEARDODGE | - |
LINEARLIGHT | - |
LUMINOSITY | - |
MULTIPLY | - |
NORMAL | - |
OVERLAY | - |
PASSTHROUGH | - |
PINLIGHT | - |
SATURATION | - |
SCREEN | - |
SOFTLIGHT | - |
SUBTRACT | - |
VIVIDLIGHT | - |
CalculationsBlendMode
24.5The kind of blending used in a Document.calculations operation.
Name | Description |
---|---|
ADD | - |
COLORBURN | - |
COLORDODGE | - |
DARKEN | - |
DARKERCOLOR | - |
DIFFERENCE | - |
DIVIDE | - |
EXCLUSION | - |
HARDLIGHT | - |
HARDMIX | - |
LIGHTEN | - |
LIGHTERCOLOR | - |
LINEARBURN | - |
LINEARDODGE | - |
LINEARLIGHT | - |
MULTIPLY | - |
NORMAL | - |
OVERLAY | - |
PINLIGHT | - |
SCREEN | - |
SOFTLIGHT | - |
SUBTRACT | - |
VIVIDLIGHT | - |
CalculationsChannel
24.5Special channels used in Document.calculations.
Name | Description |
---|---|
GRAY | - |
SELECTION | - |
TRANSPARENCY | - |
CalculationsLayer
24.5Use merged layers as a source in [Document.calculations]].
Name | Description |
---|---|
MERGED | - |
CalculationsResult
24.5The result of Document.calculations can go into a new document, a new channel in the active document, or a new selection in the active document.
Name | Description |
---|---|
NEWCHANNEL | - |
NEWDOCUMENT | - |
SELECTION | - |
ChangeMode
22.5The new color profile or mode for a document, specified in Document.changeMode
NOTE: Color images must be changed to GRAYSCALE mode before you can change them to BITMAP mode.
Name | Description |
---|---|
BITMAP | - |
CMYK | - |
GRAYSCALE | - |
INDEXEDCOLOR | - |
LAB | - |
MULTICHANNEL | - |
RGB | - |
ChannelType
22.5The type of a color channel.
Name | Description |
---|---|
COMPONENT | Specific to document color mode |
MASKEDAREA | Alpha channel where color indicates masked area |
SELECTEDAREA | Alpha channel where color indicates selected area |
SPOTCOLOR | Alpha channel to store a spot color |
CharacterAlignment
24.1The character alignment to use in text. Used in CharacterStyle.characterAlignment
Name | Description |
---|---|
EMBOXBOTTOMLEFT | - |
EMBOXCENTER | - |
EMBOXTOPRIGHT | - |
ICFBOTTOMLEFT | - |
ICFBOXTOPRIGHT | - |
ROMAN | - |
ColorBlendMode
23.3The kind of blending used in a fill or stroke operation. Pass to PathItem.fillPath()
Name | Description |
---|---|
BEHIND | - |
CLEAR | - |
COLOR | - |
COLORBURN | - |
COLORDODGE | - |
DARKEN | - |
DARKERCOLOR | - |
DIFFERENCE | - |
DISSOLVE | - |
EXCLUSION | - |
HARDLIGHT | - |
HARDMIXBLEND | - |
HUE | - |
LIGHTEN | - |
LIGHTERCOLOR | - |
LINEARBURN | - |
LINEARDODGE | - |
LINEARLIGHT | - |
LUMINOSITY | - |
MULTIPLY | - |
NORMAL | - |
OVERLAY | - |
PINLIGHT | - |
SATURATION | - |
SCREEN | - |
SOFTLIGHT | - |
VIVIDLIGHT | - |
ColorModel
22.5The color model representing the current color space of a SolidColor object.
Name | Description |
---|---|
CMYK | - |
GRAYSCALE | - |
HSB | - |
LAB | - |
NONE | - |
RGB | - |
ColorPicker
24.0The kind of color picker dialog to use. Pass to PreferencesGeneral.colorPicker
Name | Description |
---|---|
ADOBE | The Adobe Color Picker. |
OSNATIVE | The built-in Apple or Windows color picker. |
PLUGIN | The built-in Windows color picker. |
ColorProfileType
22.5Type of color profile used to manage a document, used in Document.colorProfileType
Name | Description |
---|---|
CUSTOM | Set for all custom profiles |
NONE | Set when document is not color managed |
WORKING | Set when document uses the working color profile |
CreateFields
23.5The method used for creating fields. Pass to Layer.applyDeInterlace.
Name | Description |
---|---|
DUPLICATION | - |
INTERPOLATION | - |
DepthMapSource
23.5The source to use for the depth map. Pass to Layer.applyLensBlur().
Name | Description |
---|---|
IMAGEHIGHLIGHT | - |
LAYERMASK | - |
NONE | - |
TRANSPARENCYCHANNEL | - |
DialogModes
22.5Controls the type of dialogs Photoshop displays during API calls
Name | Description |
---|---|
ALL | All dialogs will be shown |
ERROR | Dialogs will be shown only if Photoshop raises an error |
NONE | All dialogs will be hidden, and bad calls will silently fail |
Direction
22.5Used in multiple places to represent orientation.
Orientation of a guide in Guide.direction
Name | Description |
---|---|
HORIZONTAL | - |
VERTICAL | - |
DisplacementMapType
23.5Describes how the displacement map fits the image if the image is not the same size as the map. Pass to Layer.applyDisplace.
Name | Description |
---|---|
STRETCHTOFIT | - |
TILE | - |
Dither
22.5The type of dithering
Name | Description |
---|---|
DIFFUSION | - |
NOISE | - |
NONE | - |
PATTERN | - |
DocumentFill
22.5Fill methods available for the new document background
Name | Description |
---|---|
BACKGROUNDCOLOR | - |
BLACK | - |
COLOR | - |
TRANSPARENT | - |
WHITE | - |
DocumentMode
22.5Color mode of an open document. See also Document.mode and Document.changeMode
Name | Description |
---|---|
BITMAP | - |
CMYK | - |
DUOTONE | - |
GRAYSCALE | - |
INDEXEDCOLOR | - |
LAB | - |
MULTICHANNEL | - |
RGB | - |
EditLogItemsType
24.0The history log edit options. Pass to PreferencesHistory.editLogItems
Name | Description |
---|---|
CONCISE | Includes the text that appears in the History panel in addition to the Sessions information. |
DETAILED | Includes the text that appears in the Actions panel in addition to the Concise information. If you need a complete history of all changes made to files, choose Detailed. |
SESSIONONLY | Keeps a record of each time you start or quit Photoshop and each time you open and close files (each image’s filename is included). Does not include any information about edits made to the file. |
ElementPlacement
22.5Placement modes for Layer.move method
Name | Description |
---|---|
PLACEAFTER | Place below a layer, below group if group layer |
PLACEATBEGINNING | Place at the top |
PLACEATEND | Place at the bottom, above background if background layer exists |
PLACEBEFORE | Place above a layer, above group if group layer |
PLACEINSIDE | Place inside a group layer, throws error if not group layer |
EliminateFields
23.5The type of field to eliminate. Pass to Layer.applyDeInterlace.
Name | Description |
---|---|
EVENFIELDS | - |
ODDFIELDS | - |
FontSize
24.0Font size in panels and dialogs. Pass to PreferencesInterface.textFontSize
Name | Description |
---|---|
LARGE | Large size. |
MEDIUM | Medium size. |
SMALL | Small size. |
TINY | Tiny size. |
ForcedColors
22.5The type of colors to be included the color table regardless of their usage
Name | Description |
---|---|
BLACKANDWHITE | Pure black and pure white |
NONE | None |
PRIMARIES | Red, green, blue, cyan, magenta, yellow, black, and white. |
WEB | The 216 web-safe colors |
Geometry
23.5Geometric options for shapes, such as the iris shape in the Lens Blur filter. Pass to Layer.applyLensBlur().
Name | Description |
---|---|
HEPTAGON | - |
HEXAGON | - |
OCTAGON | - |
PENTAGON | - |
SQUARE | - |
TRIANGLE | - |
GridLineStyle
24.0The line style for nonprinting grids displayed over images. Pass to PreferencesGuidesGridsAndSlices.gridStyle
Name | Description |
---|---|
DASHED | - |
DOTTED | - |
SOLID | - |
GridSize
24.0The size of grid squares. Pass to PreferencesTransparencyAndGamut.gridSize
Name | Description |
---|---|
LARGE | Large grid squares. |
MEDIUM | Medium grid squares. |
NONE | No grid is displayed. |
SMALL | Small grid squares. |
GuideLineStyle
24.0The line style for nonprinting guides displayed over images. Pass to PreferencesGuidesGridsAndSlices.guideStyle
Name | Description |
---|---|
DASHED | - |
SOLID | - |
Intent
22.5The rendering intent to use when converting from one color space to another with Document.convertProfile
Name | Description |
---|---|
ABSOLUTECOLORIMETRIC | - |
PERCEPTUAL | - |
RELATIVECOLORIMETRIC | - |
SATURATION | - |
InterpolationMethod
24.0The method to use for bitmap interpolation.
Pass to
- PreferencesGeneral.imageInterpolation
- Layer.scale()
- Layer.skew()
- Layer.rotate()
- Selection.resizeBoundary()
- Selection.rotateBoundary()
Name | Description |
---|---|
AUTOMATIC | Choose best bicubic option automatically |
BICUBIC | Bicubic interpolation |
BICUBICSHARPER | Apply a sharpening mask |
BICUBICSMOOTHER | Apply a smoothing mask |
BILINEAR | Bilinear interpolate |
NEARESTNEIGHBOR | Determine value based on nearest neighbor |
JPEGFormatOptions
22.5The option with which to save a JPEG file.
Name | Description |
---|---|
OPTIMIZEDBASELINE | Optimized color and a slightly reduced file size. |
PROGRESSIVE | Displays a series of increasing detailed scans as the image downloads. |
STANDARDBASELINE | Format recognized by most web browsers. |
Justification
24.1The placement of paragraph text within the bounding box. Used in ParagraphStyle.justification
Name | Description |
---|---|
CENTER | - |
CENTERJUSTIFIED | - |
FULLYJUSTIFIED | - |
LEFT | - |
LEFTJUSTIFIED | - |
RIGHT | - |
RIGHTJUSTIFIED | - |
KashidaWidthType
24.1The width of kashida (tatweel) character Used in ParagraphStyle.kashidaWidth
Name | Description |
---|---|
LONG | - |
MEDIUM | - |
NONE | - |
SHORT | - |
STYLISTIC | - |
Kinsoku
24.1Line breaking rules in Japanese text Used in ParagraphStyle.kinsoku
Name | Description |
---|---|
JISMAXIMUM | - |
JISWEAK | - |
NONE | - |
LabelColors
22.5Options for layer list label colors
Name | Description |
---|---|
BLUE | - |
GRAY | - |
GREEN | - |
NONE | - |
ORANGE | - |
RED | - |
VIOLET | - |
YELLOW | - |
Language
24.1The language to use for text. Used in CharacterStyle.language
Name | Description |
---|---|
ARABIC | - |
BANGLAINDIA | - |
BRAZILLIANPORTUGUESE | - |
BULGARIAN | - |
BURMESE | - |
CANADIANFRENCH | - |
CATALAN | - |
CHINESE | - |
CROATIAN | - |
CZECH | - |
DANISH | - |
DUTCH | - |
ENGLISHCANADA | - |
ENGLISHUK | - |
ENGLISHUSA | - |
ESTONIAN | - |
FINNISH | - |
FRENCH | - |
GERMAN | - |
GERMAN1996 | - |
GREEK | - |
GUJARATI | - |
HEBREW | - |
HINDI | - |
HUNGARIAN | - |
ICELANDIC | - |
INDONESIAN | - |
ITALIAN | - |
JAPANESE | - |
KANNADA | - |
KHMER | - |
LAO | - |
LATVIAN | - |
LITHUANIAN | - |
MALAYALAM | - |
MARATHI | - |
NORWEGIAN | - |
NYNORSKNORWEGIAN | - |
ODIA | - |
OLDDUTCH | - |
OLDGERMAN | - |
OLDSWISSGERMAN | - |
POLISH | - |
PORTUGUESE | - |
PUNJABI | - |
ROMANIAN | - |
RUSSIAN | - |
SERBIAN | - |
SINHALESE | - |
SLOVAK | - |
SLOVENIAN | - |
SPANISH | - |
SWEDISH | - |
SWISSGERMAN | - |
TAMIL | - |
TELUGU | - |
THAI | - |
TURKISH | - |
UKRAINIAN | - |
LayerKind
22.5Kinds of different layers in a document
Name | Description |
---|---|
BLACKANDWHITE | - |
BRIGHTNESSCONTRAST | - |
CHANNELMIXER | - |
COLORBALANCE | - |
COLORLOOKUP | - |
CURVES | - |
EXPOSURE | - |
GRADIENTFILL | - |
GRADIENTMAP | - |
GROUP | - |
HUESATURATION | - |
INVERSION | - |
LAYER3D | - |
LEVELS | - |
NORMAL | - |
PATTERNFILL | - |
PHOTOFILTER | - |
POSTERIZE | - |
SELECTIVECOLOR | - |
SMARTOBJECT | - |
SOLIDFILL | - |
TEXT | - |
THRESHOLD | - |
VIBRANCE | - |
VIDEO | - |
LensType
23.5The type of Lens to use. Pass to Layer.applyLensFlare().
Name | Description |
---|---|
MOVIEPRIME | - |
PRIME105 | - |
PRIME35 | - |
ZOOMLENS | - |
MatteColor
22.5The color to use to fill anti-aliased edges adjacent to transparent areas of the image. When transparency is turned off for an image, the matte color is applied to transparent areas.
Name | Description |
---|---|
BACKGROUND | - |
BLACK | - |
FOREGROUND | - |
NETSCAPE | - |
SEMIGRAY | - |
WHITE | - |
MaximizeCompatibility
24.0The permission state for queries. Pass to PreferencesFileHandling.maximizeCompatibility
Name | Description |
---|---|
ALWAYS | Always maximize compatibility. |
ASK | Always ask about maximize compatibility. |
NEVER | Never ask about maximize compatibility. |
MiddleEasternDigitsType
24.1Digit type to use in text (Middle Eastern features). Used in CharacterStyle.middleEasternDigitsType
Name | Description |
---|---|
FARSI | - |
HINDI | - |
LTRARABIC | - |
RTLARABIC | - |
MiddleEasternTextDirection
24.1Text flow direction (Middle Eastern features). Used in CharacterStyle.middleEasternTextDirection
Name | Description |
---|---|
DEFAULT | - |
LEFTTORIGHT | - |
RIGHTTOLEFT | - |
Mojikumi
24.1Spacing between punctuation, symbols, numbers, and other character classes in Japanese text Used in ParagraphStyle.mojikumi
Name | Description |
---|---|
NONE | - |
SET1 | - |
SET2 | - |
SET3 | - |
SET4 | - |
NewDocumentMode
22.5Color Modes available for new document
Name | Description |
---|---|
BITMAP | - |
CMYK | - |
GRAYSCALE | - |
LAB | - |
RGB | - |
NoiseDistribution
23.5Distribution model to use when applying an Add Noise filter. Pass to Layer.applyAddNoise.
Name | Description |
---|---|
GAUSSIAN | - |
UNIFORM | - |
OffsetUndefinedAreas
23.5Method to use to fill the empty space left by offsetting an image or selection. Pass to Layer.applyOffset()
Name | Description |
---|---|
REPEATEDGEPIXELS | - |
SETTOBACKGROUND | - |
WRAPAROUND | - |
OperatingSystem
22.5The target operating system in BMPSaveOptions.
Name | Description |
---|---|
OS2 | - |
WINDOWS | - |
Orientation
24.1Used in multiple places to represent orientation e.g., TextItem.orientation
Name | Description |
---|---|
HORIZONTAL | - |
VERTICAL | - |
OtherCursors
24.0The style of the cursors for the following tools: Marquee, Lasso, Polygonal Lasso, Magic Wand, Crop, Slice, Patch Eyedropper, Pen, Gradient, Line, Paint Bucket, Magnetic Lasso, Magnetic Pen, Freeform Pen, Measure, and Color Sampler. Pass to PreferencesCursors.otherCursors
Name | Description |
---|---|
PRECISE | Use crosshair cursors for tools. |
STANDARD | Use small iconic cursors for tools. |
PNGMethod
22.5Compression method for saving a PNG file
Name | Description |
---|---|
MODERATE | - |
QUICK | - |
THOROUGH | - |
PaintingCursors
24.0The style of the cursors for the following tools: Eraser, Pencil, Paintbrush, Healing Brush, Rubber Stamp, Pattern Stamp, Smudge, Blur, Sharpen, Dodge, Burn, Sponge. Pass to PreferencesCursors.paintingCursors
Name | Description |
---|---|
BRUSHSIZE | Displays cursors as brush shapes representing the size of the current brush where boundaries have 50% brush opacity |
FULLSIZE | Use the full size of the brush regardless of brush opacity |
PRECISE | Use crosshair cursors when painting. |
STANDARD | Use small iconic cursors when painting. |
Palette
22.5The palette type to use
Name | Description |
---|---|
EXACT | - |
LOCALADAPTIVE | - |
LOCALPERCEPTUAL | - |
LOCALSELECTIVE | - |
MACOSPALETTE | - |
MASTERADAPTIVE | - |
MASTERPERCEPTUAL | - |
MASTERSELECTIVE | - |
PREVIOUSPALETTE | - |
UNIFORM | - |
WEBPALETTE | - |
WINDOWSPALETTE | - |
ParagraphFeatures
24.1The paragraph features to use in text. Used in ParagraphStyle.features
Name | Description |
---|---|
DEFAULT | - |
EASTASIAN | - |
MIDDLEASTERN | - |
ParagraphLayout
24.1The paragraph layout to use in text. Used in ParagraphStyle.layoutMode
Name | Description |
---|---|
LATINEASTASIAN | - |
WORLDREADY | - |
PathKind
23.5The type of a PathItem
Name | Description |
---|---|
CLIPPINGPATH | - |
DUPLICATE | - |
INTERPOLATE | - |
NORMALPATH | - |
TEXTMASK | - |
VECTORMASK | - |
WORKPATH | - |
PointKind
23.3The role a PathPoint plays in a PathItem
Name | Description |
---|---|
CORNERPOINT | - |
SMOOTHPOINT | - |
PointType
24.0The point/pica size: either 72 or 72.27 points per inch. Pass to PreferencesUnitsAndRulers.pointSize
Name | Description |
---|---|
POSTSCRIPT | 72 points per inch. |
TRADITIONAL | 72.27 points per inch. |
PolarConversionType
23.5The kind of polar conversion. Pass to Layer.applyPolarCoordinates().
Name | Description |
---|---|
POLARTORECTANGULAR | The distortion applied will take the input pixel grid as polar coordinates and convert them to rectangular coordinates. |
RECTANGULARTOPOLAR | The distortion applied will take the input pixel grid as rectangular coordinates and convert them to polar coordinates. |
PreserveShape
23.5Favor the promotion of either corners or curves. Pass to Layer.applyMaximum() and Layer.applyMinimum().
Name | Description |
---|---|
ROUNDNESS | - |
SQUARENESS | - |
RasterizeType
22.5The type of layer to get rasterized.
Name | Description |
---|---|
ENTIRELAYER | - |
FILLCONTENT | - |
LAYERCLIPPINGPATH | - |
LAYERSTYLE | - |
LINKEDLAYERS | - |
PLACED | - |
SHAPE | - |
TEXTCONTENTS | - |
VECTORMASK | - |
VIDEO | - |
ResampleMethod
22.5The method to use for document interpolation
Pass to Document.resizeImage()
Name | Description |
---|---|
AUTOMATIC | Choose best bicubic option automatically |
BICUBIC | Bicubic interpolation |
BICUBICSHARPER | Apply a sharpening mask |
BICUBICSMOOTHER | Apply a smoothing mask |
BILINEAR | Bilinear interpolate |
DEEPUPSCALE | Using deep learning, predict what the picture will look like larger. |
NEARESTNEIGHBOR | Determine value based on nearest neighbor |
NONE | Changes image resolution value without affecting document dimension Currently unsupported |
PRESERVEDETAILS | Attempt to preserve details by using machine learning |
RippleSize
23.5The size of undulations. Pass to Layer.applyRipple().
Name | Description |
---|---|
LARGE | - |
MEDIUM | - |
SMALL | - |
RulerUnits
24.0The measurement unit for ruler increments. Pass to PreferencesUnitsAndRulers.rulerUnits
Name | Description |
---|---|
CENTIMETERS | - |
INCHES | - |
MILLIMETERS | - |
PERCENT | - |
PICAS | - |
PIXELS | - |
POINTS | - |
SampleSize
24.0Sample size for the EyeDropper tool and ColorSampler instances.
Name | Description |
---|---|
POINTSAMPLE | - |
SAMPLE101X101 | - |
SAMPLE11X11 | - |
SAMPLE31X31 | - |
SAMPLE3X3 | - |
SAMPLE51X51 | - |
SAMPLE5X5 | - |
SaveLogItemsType
24.0Options for logging the history items. Pass to PreferencesHistory.saveLogItems
Name | Description |
---|---|
LOGFILE | Save history log in a text file. |
LOGFILEANDMETADATA | Save history log in file metadata and a text file. |
METADATA | Save history log in file metadata. |
SaveMethod
22.5The type of save operation.
Name | Description |
---|---|
SAVE | Saves the current document at the current format. |
SAVEAS | Changes the format of document, changing the file. |
SAVEASCOPY | Creates a copy of the document in the new format. |
SaveOptions
22.5The policy for handling new changes upon closing a document.
Name | Description |
---|---|
DONOTSAVECHANGES | Will close document without saving, discarding changes |
PROMPTTOSAVECHANGES | Will ask the user if they'd like to save changes, blocking the script |
SAVECHANGES | Will save all existing changes before closing, prompting if document is not saved yet |
SavePreview
24.0The application's behavior regarding image previews. Pass to PreferencesFileHandling.imagePreviews
Name | Description |
---|---|
ALWAYSSAVE | Always save the item with the file. |
ASKWHENSAVING | Prompt the user whether to save the item with the file. |
NEVERSAVE | Never save the item with the file. |
SelectionType
23.3The selection behavior when a selection already exists. Used in PathItem.makeSelection(), Selection.saveTo() and Selection.load()
Name | Description |
---|---|
DIMINISH | Remove the selection from the already selected area |
EXTEND | Add the selection to an already selected area |
INTERSECT | Make the selection only the area where the new selection intersectes the already selected area |
REPLACE | Replace the selected area |
ShapeOperation
23.3How to combine the shapes if the destination path already has a selection.
Set for SubPathInfo.operation, stored in the resulting SubPathItem
Name | Description |
---|---|
SHAPEADD | - |
SHAPEINTERSECT | - |
SHAPESUBTRACT | - |
SHAPEXOR | - |
SmartBlurMode
23.5The method to use for smart blurring. Pass to Layer.applySmartBlur().
Name | Description |
---|---|
EDGEONLY | - |
NORMAL | - |
OVERLAYEDGE | - |
SmartBlurQuality
23.5The smart blur quality. Pass to Layer.applySmartBlur().
Name | Description |
---|---|
HIGH | - |
LOW | - |
MEDIUM | - |
SpherizeMode
23.5The curve (or stretch shape) to use for the distortion. Pass to Layer.applySpherize().
Name | Description |
---|---|
HORIZONTAL | - |
NORMAL | - |
VERTICAL | - |
StrikeThrough
24.1The text strikethrough style to use in text. Used in CharacterStyle.strikeThrough
Name | Description |
---|---|
STRIKEBOX | - |
STRIKEHEIGHT | - |
STRIKEOFF | - |
TextCase
24.1The capitalization style to use in text. Used in CharacterStyle.capitalization
Name | Description |
---|---|
ALLCAPS | - |
NORMAL | - |
SMALLCAPS | - |
TextureType
23.5The type of texture or glass surface image to load for a texturizer or glass filter. Pass to Layer.applyGlassEffect().
Name | Description |
---|---|
BLOCKS | - |
CANVAS | - |
FROSTED | - |
TINYLENS | - |
ToolType
23.3The tool to use with PathItem.strokePath()
Name | Description |
---|---|
ARTHISTORYBRUSH | - |
BACKGROUNDERASER | - |
BLUR | - |
BRUSH | - |
BURN | - |
CLONESTAMP | - |
COLORREPLACEMENTTOOL | - |
DODGE | - |
ERASER | - |
HEALINGBRUSH | - |
HISTORYBRUSH | - |
PATTERNSTAMP | - |
PENCIL | - |
SHARPEN | - |
SMUDGE | - |
SPONGE | - |
TrimType
23.0Type of pixels to trim around an image, passed to Document.trim.
Name | Description |
---|---|
BOTTOMRIGHT | Bottom right pixel color. |
TOPLEFT | Top left pixel color. |
TRANSPARENT | Transparent pixels. |
TypeInterfaceFeatures
24.0Options for changing user interface of Character and Paragraph panels. This option is not in Preferences dialog but instead it is located in: Main menu > Type > Language Options Pass to PreferencesType.showTextFeatures
Name | Description |
---|---|
DEFAULT | - |
EASTASIAN | - |
MIDDLEEASTERN | - |
TypeUnits
24.0The measurement unit for type. Pass to PreferencesUnitsAndRulers.typeUnits
Name | Description |
---|---|
MILLIMETERS | - |
PIXELS | - |
POINTS | - |
UndefinedAreas
23.5How to treat undistorted areas or areas left blank in an image to which a filter in the Distort category has been applied. Pass to Layer.applyDisplace(), Layer.applyShear(), Layer.applyWave()
Name | Description |
---|---|
REPEATEDGEPIXELS | - |
WRAPAROUND | - |
Underline
24.1The underline style to use in text. Used in CharacterStyle.underline
Name | Description |
---|---|
LEFTINVERTICAL | - |
NONE | - |
RIGHTINVERTICAL | - |
Units
23.4Valid Units for convertUnits method, used in Photoshop.convertUnits
Name | Description |
---|---|
CM | - |
INCHES | - |
MM | - |
PICAS | - |
PIXELS | - |
POINTS | - |
WarpStyle
24.1The warp style to use with Text. Used in a WarpStyle.style
Name | Description |
---|---|
ARC | - |
ARCH | - |
ARCLOWER | - |
ARCUPPER | - |
BULGE | - |
FISH | - |
FISHEYE | - |
FLAG | - |
INFLATE | - |
NONE | - |
RISE | - |
SHELLLOWER | - |
SHELLUPPER | - |
SQUEEZE | - |
TWIST | - |
WAVE | - |
WaveType
23.5The type of wave. Pass to Layer.applyWave().
Name | Description |
---|---|
SINE | - |
SQUARE | - |
TRIANGULAR | - |
ZigZagType
23.5The method of zigzagging. Pass to Layer.applyZigZag().
Name | Description |
---|---|
AROUNDCENTER | - |
OUTFROMCENTER | - |
PONDRIPPLES | - |