Packages

 

com.aspose.psd.fileformats.psd.resources

Class ThumbnailResource

    • Constructor Detail

      • ThumbnailResource

        public ThumbnailResource()

        Initializes a new instance of the ThumbnailResource class.

    • Method Detail

      • getJpegOptions

        public final JpegOptions getJpegOptions()

        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.

        Value: The JPEG options.
      • setJpegOptions

        public final void setJpegOptions(JpegOptions value)

        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.

        Value: The JPEG options.
      • getFormat

        public final int getFormat()

        Gets or sets the thumbnail data format.

        Value: The thumbnail data format.
      • setFormat

        public final void setFormat(int value)

        Gets or sets the thumbnail data format.

        Value: The thumbnail data format.
      • getWidth

        public final int getWidth()

        Gets or sets the width of thumbnail in pixels.

        Value: The thumbnail width.
      • setWidth

        public final void setWidth(int value)

        Gets or sets the width of thumbnail in pixels.

        Value: The thumbnail width.
      • getHeight

        public final int getHeight()

        Gets or sets the height of thumbnail in pixels.

        Value: The thumbnail height.
      • setHeight

        public final void setHeight(int value)

        Gets or sets the height of thumbnail in pixels.

        Value: The thumbnail height.
      • getWidthBytes

        public final int getWidthBytes()

        Gets the row width in bytes.

        Value: The row width in bytes.
      • getTotalSize

        public final int getTotalSize()

        Gets the total data size.

        Value: The total data size.
      • getSizeAfterCompression

        public final int getSizeAfterCompression()

        Gets or sets the size after compression. Used for consistency check.

        Value: The size after compression.
      • getBitsPixel

        public final short getBitsPixel()

        Gets or sets the bits pixel.

        Value: The thumbnail bits pixel.
      • setBitsPixel

        public final void setBitsPixel(short value)

        Gets or sets the bits pixel.

        Value: The thumbnail bits pixel.
      • getPlanesCount

        public final short getPlanesCount()

        Gets or sets the planes count.

        Value: The thumbnail planes count.
      • setPlanesCount

        public final void setPlanesCount(short value)

        Gets or sets the planes count.

        Value: The thumbnail planes count.
      • getThumbnailArgb32Data

        public final int[] getThumbnailArgb32Data()

        Gets or sets the 32-bit ARGB thumbnail data.

        Value: The 32-bit ARGB thumbnail data.
      • setThumbnailArgb32Data

        public final void setThumbnailArgb32Data(int[] value)

        Gets or sets the 32-bit ARGB thumbnail data.

        Value: The 32-bit ARGB thumbnail data.
      • getThumbnailData

        public final Color[] getThumbnailData()

        Gets or sets the thumbnail data.

        Value: The thumbnail data.
      • setThumbnailData

        public final void setThumbnailData(Color[] value)

        Gets or sets the thumbnail data.

        Value: The thumbnail data.
      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Value: The resource data size.
        Specified by:
        getDataSize in class ResourceBlock
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required psd version.

        Value: The minimal psd version.
        Specified by:
        getMinimalVersion in class ResourceBlock