ImageResourcesSection
Panoramica
ImageResourcesSection è una classe in Aspose.Psd FOSS per Python.
Rappresenta la sezione Risorse Immagine PSD come byte raw‑preservati più riepiloghi analizzati solo per elementi sconosciuti.
Questa classe dichiara 5 metodi per oggetti ImageResourcesSection nei programmi Python. I metodi disponibili includono: Empty, __init__, empty, load, save. I membri pubblici sono accessibili a qualsiasi applicazione Python dopo l’installazione del pacchetto Aspose.Psd FOSS per Python. Proprietà: has_resources, raw_data, resources.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
has_resources | bool | Lettura | Restituisce un valore che indica se la sezione contiene byte grezzi o risorse analizzate. |
raw_data | bytes | Lettura | Ottiene i dati grezzi. |
resources | List[UnknownResource] | Lettura | Ottiene le risorse. |
Metodi
| Firma | Descrizione |
|---|---|
empty() → "ImageResourcesSection" | Restituisce una sezione Image Resources vuota. |
Empty() → "ImageResourcesSection" | Alias per empty() per corrispondere all’uso esterno. |
__init__(raw_data: bytes, resources: List[UnknownResource]) | Calls init(raw_data, resources) su questa istanza ImageResourcesSection. |
load(reader: BigEndianReader) → "ImageResourcesSection" | Carica la sezione Image Resources dalla posizione corrente del lettore. |
save(writer: BigEndianWriter) | Scrive la sezione Image Resources con preservazione raw quando disponibile. |