PsImageResource
Przegląd
PsImageResource jest klasą w Aspose.Page FOSS dla Python.
Reprezentuje zdekodowany zasób obrazu.
Właściwości: bits_per_component, color_space, data, decode, filter, filter_params oraz 6 innych.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
image_id | str | Odczyt/zapis | Pobiera lub ustawia identyfikator obrazu. |
data | bytes | Odczyt/zapis | Pobiera lub ustawia dane. |
width | int | Odczyt/zapis | Pobiera lub ustawia szerokość. |
height | int | Odczyt/zapis | Pobiera lub ustawia wysokość. |
bits_per_component | int | Odczyt/zapis | Pobiera lub ustawia liczbę bitów na składnik. |
color_space | str | Odczyt/zapis | Pobiera lub ustawia przestrzeń kolorów. |
interpolate | bool | Odczyt/zapis | Pobiera lub ustawia interpolate. |
mask | bool | Odczyt/zapis | Pobiera lub ustawia maskę. |
filter | `str | None` | Odczyt/zapis |
filter_params | `dict | None` | Odczyt/zapis |
decode | `tuple[float, …] | None` | Odczyt/zapis |
mask_polarity | bool | Odczyt/zapis | Pobiera lub ustawia polaryzację maski. |