PsdImageDocumentState

PsdImageDocumentState

סקירה כללית

PsdImageDocumentState היא מחלקה ב Aspose.Psd FOSS עבור Python.

מאחסן מקטעי מסמך PSD/PSB מפורשים המשמשים את PsdImage.

מחלקה זו מגדירה 3 שיטות עבור עצמים PsdImageDocumentState בתוכניות Python. השיטות הזמינות כוללות: __init__, empty, with_layer_and_mask_section. החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.Psd FOSS עבור Python. מאפיינים: ColorData, Empty, Header, ImageData, ImageResourcesSection, color_data, ועוד 4.

מאפיינים

שםסוגגישהתיאור
Header`PsdHeaderNone`קריאה
ColorDataColorDataקריאהמקבל את נתוני הצבע.
ImageResourcesSectionImageResourcesSectionקריאהמקבל את מדור משאבי התמונות.
layer_and_mask_sectionLayerAndMaskSectionקריאהמקבל את חלק השכבות והמסכה.
ImageDataImageDataקריאהמקבל את נתוני התמונה.
Empty"PsdImageDocumentState"קריאהמקבל את הריק.
header``קריאהמקבל את הכותרת.
color_data``קריאהמקבל את נתוני הצבע.
image_resources_section``קריאהמקבל את מדור משאבי התמונה.
image_data``קריאהמקבל את נתוני התמונה.

שיטות

חתימהתיאור
empty() → "PsdImageDocumentState"מקבל מצב מסמך ריק לפני שזרם PSD/PSB נותח.
`init(header: PsdHeaderNone, color_data: ColorData, image_resources_section: ImageResourcesSection, layer_and_mask_section: LayerAndMaskSection, image_data: ImageData)`
with_layer_and_mask_section(layer_and_mask_section: LayerAndMaskSection) → "PsdImageDocumentState"יוצר עותק של המצב עם סעיף Layer and Mask Information מוחלף.

ראה גם

 עברית