Thumbnail4Resource class
Thumbnail4Resource class
Represents the thumbnail resource for psd 4.0.
Inheritance: Thumbnail4Resource →
ThumbnailResource →
ResourceBlock
The Thumbnail4Resource type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the Thumbnail4Resource class. |
Properties
| Property | Description |
|---|---|
| signature | Gets the resource signature. Should be always ‘8BIM’. |
| id | Gets or sets the unique identifier for the resource. |
| name | Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0). |
| data_size | Gets the resource data size in bytes. |
| size | Gets the resource block size in bytes including its data. |
| minimal_version | Gets the minimal required psd version. |
| RESOUCE_BLOCK_SIGNATURE | The resource signature. |
| jpeg_options | Gets or sets the JPEG options. Suitable when thumbnail resource is saved into JPEG file format only. This option has no effect when RAW format is defined. |
| width | Gets or sets the width of thumbnail in pixels. |
| height | Gets or sets the height of thumbnail in pixels. |
| width_bytes | Gets the row width in bytes. |
| total_size | Gets the total data size. |
| size_after_compression | Gets or sets the size after compression. Used for consistency check. |
| bits_pixel | Gets or sets the bits pixel. |
| planes_count | Gets or sets the planes count. |
| thumbnail_argb_32_data | Gets or sets the 32-bit ARGB thumbnail data. |
| thumbnail_data | Gets or sets the thumbnail data. |
Methods
| Method | Description |
|---|---|
| save | Saves the resource block to the specified stream. |
| validate_values | Validates the resource values. |
See Also
- module
aspose.cad.fileformats.psd.resources - class
ResourceBlock - class
Thumbnail4Resource - class
ThumbnailResource