Packages

 

com.aspose.cad.fileformats.dwf

Class DwfImage

    • Method Detail

      • getBitsPerPixel

        public int getBitsPerPixel()

        Gets bit per pixel

        Specified by:
        getBitsPerPixel in class Image
        Returns:
        The image bits per pixel count.
      • isCached

        public boolean isCached()

        Gets is image cached

        Specified by:
        isCached in class com.aspose.cad.DataStreamSupporter
      • cacheData

        public void cacheData()

        Caches data

        Specified by:
        cacheData in class com.aspose.cad.DataStreamSupporter
      • resize

        public void resize(int newWidth,
                           int newHeight,
                           ImageResizeSettings settings)

        Resizes image

        Specified by:
        resize in class Image
        Parameters:
        newWidth - new width of image
        newHeight - new height of image
        settings - settings object
      • resize

        public void resize(int newWidth,
                           int newHeight,
                           int resizeType)

        Resizes image

        Specified by:
        resize in class Image
        Parameters:
        newWidth - new width of image
        newHeight - new height of image
        resizeType - resize type of image
      • setPalette

        public void setPalette(com.aspose.cad.IColorPalette palette,
                               boolean updateColors)

        Sets pallete for image

        Specified by:
        setPalette in class Image
        Parameters:
        palette - pallete object
        updateColors - need update colors

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.