PsImageResource
Overview
PsImageResource is a class in Aspose.Page FOSS for Python.
Represents a decoded image resource.
Properties: bits_per_component, color_space, data, decode, filter, filter_params, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
image_id | str | Read/Write | Gets or sets the image id. |
data | bytes | Read/Write | Gets or sets the data. |
width | int | Read/Write | Gets or sets the width. |
height | int | Read/Write | Gets or sets the height. |
bits_per_component | int | Read/Write | Gets or sets the bits per component. |
color_space | str | Read/Write | Gets or sets the color space. |
interpolate | bool | Read/Write | Gets or sets the interpolate. |
mask | bool | Read/Write | Gets or sets the mask. |
filter | str | None | Read/Write | Gets or sets the filter. |
filter_params | dict | None | Read/Write | Gets or sets the filter params. |
decode | tuple[float, ...] | None | Read/Write | Gets or sets the decode. |
mask_polarity | bool | Read/Write | Gets or sets the mask polarity. |