ImageResource
ImageResource
General
ImageResource és una classe en FOSS per Python.
Carrega útil de recursos d’imatge per a la incorporació en PDF XObject.
Propietats: bits_per_component, color_space, data, decode, filter, filter_params, i 4 més.
Propietats
| Nom | Tipus de productes | Accés | Descripció |
|---|---|---|---|
data | bytes | Llegeix. | Obté les dades. |
width | int | Llegeix. | Obté el ampli. |
height | int | Llegeix. | Tinc l’altura. |
color_space | str | Llegeix. | Obté l’espai de colors. |
bits_per_component | int | Llegeix. | Obté les parts per component. |
filter | `str | None` | Llegeix. |
filter_params | `dict | None` | Llegeix. |
decode | `tuple[float, …] | None` | Llegeix. |
mask | bool | Llegeix. | Prèn la màscara. |
mask_polarity | bool | Llegeix. | Obté la polaritat de la màscara. |