ImageDataStructure
Overview
ImageDataStructure is a class in Aspose.Psd FOSS for Python.
Describes the validated structural layout of the PSD Image Data payload.
This class declares 5 methods for ImageDataStructure objects in Python programs.
Available methods include: __init__, create_raw, create_rle, create_unknown, create_zip.
Public members are accessible to any Python application after installing the Aspose.Psd FOSS for Python package.
Properties: compressed_payload_length, kind, row_byte_counts, row_length_field_size, uses_prediction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
kind | `` | Read | Gets the kind. |
row_length_field_size | `` | Read | Gets the row length field size. |
row_byte_counts | `` | Read | Gets the row byte counts. |
compressed_payload_length | `` | Read | Gets the compressed payload length. |
uses_prediction | `` | Read | Gets the uses prediction. |
Methods
| Signature | Description |
|---|---|
__init__(kind, row_length_field_size, row_byte_counts, compressed_payload_length, uses_prediction) | Calls init(kind, row_length_field_size, row_byte_counts, compressed_payload_length, uses_prediction) on this ImageDataStructure instance. |
create_raw(payload_length) | Create a structure descriptor for raw image data. |
create_rle(row_byte_counts, row_length_field_size, compressed_payload_length) | Create a structure descriptor for RLE image data. |
create_zip(payload_length, uses_prediction) | Create a structure descriptor for ZIP-based image data. |
create_unknown(payload_length) | Create a structure descriptor for unsupported compression values. |