com.groupdocs.signature.options.saveoptions.imagessaveoptions

Class JpegSaveOptions



  • public class JpegSaveOptions
    extends com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions

    Jpeg Save options for Image Documents.

    • Constructor Detail

      • JpegSaveOptions

        public JpegSaveOptions()

        Creates JpegSaveOptions with default values.

    • Method Detail

      • getBitsPerChannel

        public byte getBitsPerChannel()

        Gets or sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.

      • getColorType

        public int getColorType()

        Gets or sets the color type for jpeg image.

      • getComment

        public String getComment()

        Gets or sets the jpeg file comment.

      • getCompressionType

        public int getCompressionType()

        Gets or sets the compression type.

      • getFileFormat

        public final int getFileFormat()

        Gets or sets file format of signed document. Hidden because not in use for this options class.

        Overrides:
        getFileFormat in class com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions
      • getQuality

        public int getQuality()

        Gets or sets image quality.

      • getSampleRoundingMode

        public int getSampleRoundingMode()

        Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value JpegOptions.BitsPerChannel.

      • setBitsPerChannel

        public void setBitsPerChannel(byte value)

        Gets or sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.

      • setColorType

        public void setColorType(int value)

        Gets or sets the color type for jpeg image.

      • setComment

        public void setComment(String value)

        Gets or sets the jpeg file comment.

      • setCompressionType

        public void setCompressionType(int value)

        Gets or sets the compression type.

      • setFileFormat

        public final void setFileFormat(int value)

        Gets or sets file format of signed document. Hidden because not in use for this options class.

        Overrides:
        setFileFormat in class com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions
      • setQuality

        public void setQuality(int value)

        Gets or sets image quality.

      • setSampleRoundingMode

        public void setSampleRoundingMode(int value)

        Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value JpegOptions.BitsPerChannel.