psd_tools.psd.effects_layer

Effects layer structure.

Note the structures in this module is obsolete and object-based layer effects are stored in tagged blocks.

EffectsLayer

class psd_tools.psd.effects_layer.EffectsLayer(items=_Nothing.NOTHING, version: int = 0)[source]

Dict-like EffectsLayer structure. See psd_tools.constants.EffectOSType for available keys.

version

CommonStateInfo

class psd_tools.psd.effects_layer.CommonStateInfo(version: int = 0, visible: int = 1)[source]

Effects layer common state info.

version
visible

ShadowInfo

class psd_tools.psd.effects_layer.ShadowInfo(version: int = 0, blur: int = 0, intensity: int = 0, angle: int = 0, distance: int = 0, color=_Nothing.NOTHING, blend_mode=BlendMode.NORMAL, enabled: int = 0, use_global_angle: int = 0, opacity: int = 0, native_color=_Nothing.NOTHING)[source]

Effects layer shadow info.

version
blur
intensity
angle
distance
color
blend_mode
enabled
use_global_angle
opacity
native_color

OuterGlowInfo

class psd_tools.psd.effects_layer.OuterGlowInfo(version: int = 0, blur: int = 0, intensity: int = 0, color=_Nothing.NOTHING, blend_mode=BlendMode.NORMAL, enabled: int = 0, opacity: int = 0, native_color=None)[source]

Effects layer outer glow info.

version
blur
intensity
color
blend_mode
enabled
opacity
native_color

InnerGlowInfo

class psd_tools.psd.effects_layer.InnerGlowInfo(version: int = 0, blur: int = 0, intensity: int = 0, color=_Nothing.NOTHING, blend_mode=BlendMode.NORMAL, enabled: int = 0, opacity: int = 0, invert=None, native_color=None)[source]

Effects layer inner glow info.

version
blur
intensity
color
blend_mode
enabled
opacity
invert
native_color

BevelInfo

class psd_tools.psd.effects_layer.BevelInfo(version: int = 0, angle: int = 0, depth: int = 0, blur: int = 0, highlight_blend_mode=BlendMode.NORMAL, shadow_blend_mode=BlendMode.NORMAL, highlight_color=_Nothing.NOTHING, shadow_color=_Nothing.NOTHING, bevel_style: int = 0, highlight_opacity: int = 0, shadow_opacity: int = 0, enabled: int = 0, use_global_angle: int = 0, direction: int = 0, real_highlight_color=None, real_shadow_color=None)[source]

Effects layer bevel info.

version
angle
depth
blur
highlight_blend_mode
shadow_blend_mode
highlight_color
shadow_color
highlight_opacity
shadow_opacity
enabled
use_global_angle
direction
real_hightlight_color
real_shadow_color

SolidFillInfo

class psd_tools.psd.effects_layer.SolidFillInfo(version: int = 2, blend_mode=BlendMode.NORMAL, color=_Nothing.NOTHING, opacity: int = 0, enabled: int = 0, native_color=_Nothing.NOTHING)[source]

Effects layer inner glow info.

version
blend_mode
color
opacity
enabled
native_color