psd_tools.psd.color_mode_data¶
Color mode data structure.
ColorModeData¶
-
class
psd_tools.psd.color_mode_data.
ColorModeData
(value: bytes = b'')[source]¶ Color mode data section of the PSD file.
For indexed color images the data is the color table for the image in a non-interleaved order.
Duotone images also have this data, but the data format is undocumented.
-
classmethod
read
(fp)[source]¶ Read the element from a file-like object.
Parameters: fp – file-like object Return type: ColorModeData
-
value
¶
-
classmethod