Photoshop Script Determine Layer Kind

Photoshop Script – Determine Layer Kind

0

This post has already been read 2275 times!

Useful photoshop extendscript script snippet determining kind of a layer…

Example : LayerKind.SOLIDFILL is a shape layer.

BLACKANDWHITE : Black and white layer
BRIGHTNESSCONTRAST : Brightness contrast adjustment layer
CHANNELMIXER : Channel mixer adjustment layer
COLORBALANCE : Color balance adjustment layer
CURVES : Curves adjustment layer
EXPOSURE : Exposure layer
GRADIENTFILL : Gradient fill
GRADIENTMAP : Gradient map adjustment layer
HUESATURATION : Hue saturation adjustment layer
INVERSION : Invert adjustment layer
LAYER3D : 3D layer
LEVELS : Levels adjustment layer
NORMAL : Normal
PATTERNFILL : Pattern fill
PHOTOFILTER : Photo filter layer
POSTERIZE : Posterize adjustment layer
SELECTIVECOLOR : Selective color adjustment layer
SMARTOBJECT : Smart object layer
SOLIDFILL : Solid color
TEXT : Text Layer
THRESHOLD : Threshold adjustment layer
VIBRANCE : Vibrance layer
VIDEO : Video layer

Leave a Reply