ThumbnailResource Class
The thumbnail resource block.
Inheritance Hierarchy
SystemObject
  Aspose.PSD.FileFormats.PsdResourceBlock
    Aspose.PSD.FileFormats.Psd.ResourcesThumbnailResource
      Aspose.PSD.FileFormats.Psd.ResourcesThumbnail4Resource

Namespace: Aspose.PSD.FileFormats.Psd.Resources
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.11
Syntax
public class ThumbnailResource : ResourceBlock

The ThumbnailResource type exposes the following members.

Constructors
  NameDescription
Public methodThumbnailResource
Initializes a new instance of the ThumbnailResource class
Properties
  NameDescription
Public propertyBitsPixel
Gets or sets the bits pixel.
Public propertyDataSize
Gets the resource data size in bytes.
(Overrides ResourceBlockDataSize.)
Public propertyFormat
Gets or sets the thumbnail data format.
Public propertyHeight
Gets or sets the height of thumbnail in pixels.
Public propertyID
Gets or sets the unique identifier for the resource.
(Inherited from ResourceBlock.)
Public propertyJpegOptions
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.
Public propertyMinimalVersion
Gets the minimal required psd version.
(Overrides ResourceBlockMinimalVersion.)
Public propertyName
Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
(Inherited from ResourceBlock.)
Public propertyPlanesCount
Gets or sets the planes count.
Public propertySignature
Gets the resource signature. Should be always '8BIM'.
(Inherited from ResourceBlock.)
Public propertySize
Gets the resource block size in bytes including its data.
(Inherited from ResourceBlock.)
Public propertySizeAfterCompression
Gets or sets the size after compression. Used for consistency check.
Public propertyThumbnailArgb32Data
Gets or sets the 32-bit ARGB thumbnail data.
Public propertyThumbnailData
Gets or sets the thumbnail data.
Public propertyTotalSize
Gets the total data size.
Public propertyWidth
Gets or sets the width of thumbnail in pixels.
Public propertyWidthBytes
Gets the row width in bytes.
Methods
  NameDescription
Protected methodCacheData
Caches the data for subsequent faster retrieval.
(Overrides ResourceBlockCacheData.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave
Saves the resource block to the specified stream.
(Inherited from ResourceBlock.)
Protected methodSaveCommonData
Saves the common data.
Protected methodSaveData
Saves the resource block data.
(Overrides ResourceBlockSaveData(StreamContainer).)
Protected methodStopDataCache
Stops data caching.
(Overrides ResourceBlockStopDataCache.)
Public methodToString (Inherited from Object.)
Public methodValidateValues
Validates the resource values.
(Overrides ResourceBlockValidateValues.)
See Also