Packages

 

com.groupdocs.signature.options.saveoptions.imagessaveoptions

Class JpegSaveOptions



  • public class JpegSaveOptions
    extends ImagesSaveOptions

    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.

      • 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.

      • 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.