XpsImageResource
XpsImageResource
General
XpsImageResource és una classe en FOSS per Python.
Recurs d’imatge decodificat.
Propietats: bits_per_component, color_space, data, filter, height, image_id, i 3 més.
Propietats
| Nom | Tipus de productes | Accés | Descripció |
|---|---|---|---|
image_id | str | Llegir/Escriure | Obté o fixa l’identificació d’imatge. |
data | bytes | Llegir/Escriure | Obté o fixa les dades. |
width | int | Llegir/Escriure | Obté o fixa la largura. |
height | int | Llegir/Escriure | Obté o fixa l’altura. |
bits_per_component | int | Llegir/Escriure | Obté o fixa els bits per component. |
color_space | str | Llegir/Escriure | Obté o fixa l’espai de color. |
filter | `str | None` | Llegir/Escriure |
x_dpi | float | Llegir/Escriure | Obté o fixa el dpi x. |
y_dpi | float | Llegir/Escriure | Obté o estableix el y dpi. |