Packages

 

com.aspose.cad.fileformats.psd.resources

Class ThumbnailResource

    • Constructor Detail

      • ThumbnailResource

        public ThumbnailResource()

        Initializes a new instance of the ThumbnailResource class.

    • Method Detail

      • getJpegOptions

        public 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 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 int getFormat()

        Gets or sets the thumbnail data format.

        Value: The thumbnail data format.
      • setFormat

        public void setFormat(int value)

        Gets or sets the thumbnail data format.

        Value: The thumbnail data format.
      • getWidth

        public int getWidth()

        Gets or sets the width of thumbnail in pixels.

        Value: The thumbnail width.
      • setWidth

        public void setWidth(int value)

        Gets or sets the width of thumbnail in pixels.

        Value: The thumbnail width.
      • getHeight

        public int getHeight()

        Gets or sets the height of thumbnail in pixels.

        Value: The thumbnail height.
      • setHeight

        public void setHeight(int value)

        Gets or sets the height of thumbnail in pixels.

        Value: The thumbnail height.
      • getWidthBytes

        public int getWidthBytes()

        Gets the row width in bytes.

        Value: The row width in bytes.
      • getTotalSize

        public int getTotalSize()

        Gets the total data size.

        Value: The total data size.
      • getSizeAfterCompression

        public int getSizeAfterCompression()

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

        Value: The size after compression.
      • getBitsPixel

        public short getBitsPixel()

        Gets or sets the bits pixel.

        Value: The thumbnail bits pixel.
      • setBitsPixel

        public void setBitsPixel(short value)

        Gets or sets the bits pixel.

        Value: The thumbnail bits pixel.
      • getPlanesCount

        public short getPlanesCount()

        Gets or sets the planes count.

        Value: The thumbnail planes count.
      • setPlanesCount

        public void setPlanesCount(short value)

        Gets or sets the planes count.

        Value: The thumbnail planes count.
      • getThumbnailArgb32Data

        public int[] getThumbnailArgb32Data()

        Gets or sets the 32-bit ARGB thumbnail data.

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

        public void setThumbnailArgb32Data(int[] value)

        Gets or sets the 32-bit ARGB thumbnail data.

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

        public Color[] getThumbnailData()

        Gets or sets the thumbnail data.

        Value: The thumbnail data.
      • setThumbnailData

        public 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