com.aspose.cad.jasperreports.jpg

Class ASJpegExportConfigurationImpl

    • Constructor Detail

      • ASJpegExportConfigurationImpl

        public ASJpegExportConfigurationImpl()
    • Method Detail

      • getXmpData

        public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()

        Gets the XMP metadata container.

        Specified by:
        getXmpData in interface ASJpegExportConfiguration
        Returns:
        The XMP data container.
      • setComment

        public void setComment(String value)

        Sets the jpeg file comment.

      • setExifData

        public void setExifData(com.aspose.imaging.exif.JpegExifData value)

        Get or set exif data container

      • setCompressionType

        public void setCompressionType(JpegCompressionMode value)

        Sets the compression type.

      • getBitsPerChannel

        public byte getBitsPerChannel()

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

        Specified by:
        getBitsPerChannel in interface ASJpegExportConfiguration
      • setBitsPerChannel

        public void setBitsPerChannel(byte value)

        Sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.

      • setQuality

        public void setQuality(int value)

        Sets image quality.

      • getRdOptSettings

        public com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()

        Gets the RD optimizer settings.

        Specified by:
        getRdOptSettings in interface ASJpegExportConfiguration
        Returns:
        The RD optimizer settings.
      • setRdOptSettings

        public void setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)

        Sets the RD optimizer settings.

        Parameters:
        value - The RD optimizer settings.
      • getRgbColorProfile

        public com.aspose.cad.sources.StreamSource getRgbColorProfile()

        The destination RGB color profile for CMYK jpeg images. Use for saving images. Must be in pair with CMYKColorProfile for correct color conversion.

        Specified by:
        getRgbColorProfile in interface ASJpegExportConfiguration
      • setRgbColorProfile

        public void setRgbColorProfile(com.aspose.cad.sources.StreamSource value)

        The destination RGB color profile for CMYK jpeg images. Use for saving images. Must be in pair with CMYKColorProfile for correct color conversion.

      • getCmykColorProfile

        public com.aspose.cad.sources.StreamSource getCmykColorProfile()

        The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion.

        Specified by:
        getCmykColorProfile in interface ASJpegExportConfiguration
      • setCmykColorProfile

        public void setCmykColorProfile(com.aspose.cad.sources.StreamSource value)

        The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion.

      • getJpegLsAllowedLossyError

        public int getJpegLsAllowedLossyError()

        Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).

        Specified by:
        getJpegLsAllowedLossyError in interface ASJpegExportConfiguration
      • setJpegLsAllowedLossyError

        public void setJpegLsAllowedLossyError(int value)

        Sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).

      • setJpegLsInterleaveMode

        public void setJpegLsInterleaveMode(JpegLsInterleaveMode value)

        Sets the JPEG-LS interleave mode.

      • getJpegLsPreset

        public com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters getJpegLsPreset()

        Gets the JPEG-LS preset parameters.

        Specified by:
        getJpegLsPreset in interface ASJpegExportConfiguration
      • setJpegLsPreset

        public void setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value)

        Sets the JPEG-LS preset parameters.

      • setHorizontalSampling

        public void setHorizontalSampling(byte[] value)

        Sets the horizontal subsamplings for each component.

      • setVerticalSampling

        public void setVerticalSampling(byte[] value)

        Sets the vertical subsamplings for each component.

      • setSampleRoundingMode

        public void setSampleRoundingMode(SampleRoundingMode value)

        Sets the sample rounding mode to fit an 8-bit value to an n-bit value.

      • getPreblendAlphaIfPresent

        public boolean getPreblendAlphaIfPresent()

        Gets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.

        Specified by:
        getPreblendAlphaIfPresent in interface ASJpegExportConfiguration
      • setPreblendAlphaIfPresent

        public void setPreblendAlphaIfPresent(boolean value)

        Sets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.

      • setResolutionUnit

        public final void setResolutionUnit(ResolutionUnit value)

        Sets the resolution unit.

        Parameters:
        value - the resolution unit.