Class ThumbnailResource ThumbnailResource class The thumbnail resource block.
Copy public class ThumbnailResource : ResourceBlock
Constructors Properties Name Description BitsPixel { get; set; }Gets or sets the bits pixel. override DataSize { get; } Gets the resource data size in bytes. Format { get; set; }Gets or sets the thumbnail data format. Height { get; set; }Gets or sets the height of thumbnail in pixels. ID { get; set; }Gets or sets the unique identifier for the resource. JpegOptions { get; set; }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. override MinimalVersion { get; } Gets the minimal required psd version. Name { get; set; }Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0). PlanesCount { get; set; }Gets or sets the planes count. Signature { get; }Gets the resource signature. Should be always ‘8BIM’. Size { get; }Gets the resource block size in bytes including its data. SizeAfterCompression { get; }Gets or sets the size after compression. Used for consistency check. ThumbnailArgb32Data { get; set; }Gets or sets the 32-bit ARGB thumbnail data. ThumbnailData { get; set; }Gets or sets the thumbnail data. TotalSize { get; }Gets the total data size. Width { get; set; }Gets or sets the width of thumbnail in pixels. WidthBytes { get; }Gets the row width in bytes.
Methods Name Description Save (StreamContainer)Saves the resource block to the specified stream. override ValidateValues () Validates the resource values.
See Also