
## Thumbnail4Resource class

Represents the thumbnail resource for psd 4.0.



**Inheritance:** [`Thumbnail4Resource`](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource) → 
[`ThumbnailResource`](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnailresource) → 
[`ResourceBlock`](/cad/python-net/aspose.cad.fileformats.psd/resourceblock)



The Thumbnail4Resource type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/__init__/#) | Initializes a new instance of the [`Thumbnail4Resource`](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource) class. |


### Properties
| Property | Description |
| :- | :- |
| [signature](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/signature) | Gets the resource signature. Should be always '8BIM'. |
| [id](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/id) | Gets or sets the unique identifier for the resource. |
| [name](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/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](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/data_size) | Gets the resource data size in bytes. |
| [size](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/size) | Gets the resource block size in bytes including its data. |
| [minimal_version](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/minimal_version) | Gets the minimal required psd version. |
| [RESOUCE_BLOCK_SIGNATURE](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/resouce_block_signature) | The resource signature. |
| [jpeg_options](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/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](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/width) | Gets or sets the width of thumbnail in pixels. |
| [height](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/height) | Gets or sets the height of thumbnail in pixels. |
| [width_bytes](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/width_bytes) | Gets the row width in bytes. |
| [total_size](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/total_size) | Gets the total data size. |
| [size_after_compression](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/size_after_compression) | Gets or sets the size after compression. Used for consistency check. |
| [bits_pixel](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/bits_pixel) | Gets or sets the bits pixel. |
| [planes_count](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/planes_count) | Gets or sets the planes count. |
| [thumbnail_argb_32_data](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/thumbnail_argb_32_data) | Gets or sets the 32-bit ARGB thumbnail data. |
| [thumbnail_data](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/thumbnail_data) | Gets or sets the thumbnail data. |


### Methods
| Method | Description |
| :- | :- |
| [save](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/save/#aspose.cad.StreamContainer) | Saves the resource block to the specified stream. |
| [validate_values](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource/validate_values/#) | Validates the resource values. |



### See Also
* module [`aspose.cad.fileformats.psd.resources`](..)
* class [`ResourceBlock`](/cad/python-net/aspose.cad.fileformats.psd/resourceblock)
* class [`Thumbnail4Resource`](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnail4resource)
* class [`ThumbnailResource`](/cad/python-net/aspose.cad.fileformats.psd.resources/thumbnailresource)
