psd_tools.psd.patterns
Patterns structure.
Patterns
Pattern
- class psd_tools.psd.patterns.Pattern(version: int = 1, image_mode=ColorMode.RGB, point=None, name: str = '', pattern_id: str = '', color_table=None, data=None)[source]
Pattern structure.
- version
- image_mode
See
ColorMode
- point
Size in tuple.
- name
str name of the pattern.
- pattern_id
ID of this pattern.
- color_table
Color table if the mode is INDEXED.
- data