com.groupdocs.conversion.options.convert

Class ImageConvertOptions

    • Constructor Detail

      • ImageConvertOptions

        public ImageConvertOptions()

        Initializes new instance of ImageConvertOptions class.

    • Method Detail

      • getWidth

        public final int getWidth()

        Desired image width after conversion.

      • setWidth

        public final void setWidth(int value)

        Desired image width after conversion.

      • getHeight

        public final int getHeight()

        Desired image height after conversion.

      • setHeight

        public final void setHeight(int value)

        Desired image height after conversion.

      • getUsePdf

        public final boolean getUsePdf()

        If true, the input firstly is converted to PDF and after that to desired format.

      • setUsePdf

        public final void setUsePdf(boolean value)

        If true, the input firstly is converted to PDF and after that to desired format.

      • getHorizontalResolution

        public final int getHorizontalResolution()

        Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.

      • setHorizontalResolution

        public final void setHorizontalResolution(int value)

        Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.

      • getVerticalResolution

        public final int getVerticalResolution()

        Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.

      • setVerticalResolution

        public final void setVerticalResolution(int value)

        Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.

      • getTiffOptions

        public final TiffOptions getTiffOptions()

        Tiff specific convert options.

      • setTiffOptions

        public final void setTiffOptions(TiffOptions value)

        Tiff specific convert options.

      • getPsdOptions

        public final PsdOptions getPsdOptions()

        Psd specific convert options.

      • setPsdOptions

        public final void setPsdOptions(PsdOptions value)

        Psd specific convert options.

      • getWebpOptions

        public final WebpOptions getWebpOptions()

        Webp specific convert options.

      • setWebpOptions

        public final void setWebpOptions(WebpOptions value)

        Webp specific convert options.

      • getGrayscale

        public final boolean getGrayscale()

        Indicates whether to convert into grayscale image.

      • setGrayscale

        public final void setGrayscale(boolean value)

        Indicates whether to convert into grayscale image.

      • getRotateAngle

        public final int getRotateAngle()

        Image rotation angle.

      • setRotateAngle

        public final void setRotateAngle(int value)

        Image rotation angle.

      • getJpegOptions

        public final JpegOptions getJpegOptions()

        Jpeg specific convert options.

      • setJpegOptions

        public final void setJpegOptions(JpegOptions value)

        Jpeg specific convert options.

      • getFlipMode

        public final ImageFlipModes getFlipMode()

        Image flip mode.

      • setFlipMode

        public final void setFlipMode(ImageFlipModes value)

        Image flip mode.

      • getBrightness

        public final int getBrightness()

        Adjusts image brightness.

      • setBrightness

        public final void setBrightness(int value)

        Adjusts image brightness.

      • getContrast

        public final int getContrast()

        Adjusts image contrast.

      • setContrast

        public final void setContrast(int value)

        Adjusts image contrast.

      • getGamma

        public final float getGamma()

        Adjusts image gamma.

      • setGamma

        public final void setGamma(float value)

        Adjusts image gamma.

      • getBackgroundColor

        public com.aspose.ms.System.Drawing.Color getBackgroundColor()
        Gets background color
        Returns:
        background color
      • setBackgroundColor

        public void setBackgroundColor(com.aspose.ms.System.Drawing.Color backgroundColor)
        Sets background color where supported by the source format
        Parameters:
        backgroundColor - background color