com.aspose.cad.jasperreports.jpg

Class ASJpegExportParametersBean

  • All Implemented Interfaces:
    com.jaspersoft.jasperserver.api.engine.jasperreports.common.ExportParameters, Serializable


    public class ASJpegExportParametersBean
    extends ImageExportParameters
    The HTML file format export parameters.
    See Also:
    Serialized Form
    • Constructor Detail

      • ASJpegExportParametersBean

        public ASJpegExportParametersBean()
        Instantiates a new Jpeg Export Parameters.
    • Method Detail

      • getExportConfiguration

        public ASJpegExportConfiguration getExportConfiguration()
        Gets export configuration.
        Returns:
        the export configuration
      • getXmpData

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

        Gets the XMP metadata container.

        Returns:
        The XMP data container.
      • getComment

        public String getComment()

        Gets the jpeg file comment.

        Returns:
        the comment
      • setComment

        public void setComment(String value)

        Sets the jpeg file comment.

        Parameters:
        value - the value
      • getExifData

        public com.aspose.imaging.exif.JpegExifData getExifData()

        Get or set exif data container

        Returns:
        the exif data
      • setExifData

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

        Get or set exif data container

        Parameters:
        value - the value
      • getCompressionType

        public JpegCompressionMode getCompressionType()

        Gets the compression type.

        Returns:
        the compression type
      • setCompressionType

        public void setCompressionType(JpegCompressionMode value)

        Sets the compression type.

        Parameters:
        value - the value
      • getColorType

        public JpegCompressionColorMode getColorType()

        Gets the color type for jpeg image.

        Returns:
        the color type
      • setColorType

        public void setColorType(JpegCompressionColorMode value)

        Sets the color type for jpeg image.

        Parameters:
        value - the value
      • getBitsPerChannel

        public byte getBitsPerChannel()

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

        Returns:
        the bits per channel
      • setBitsPerChannel

        public void setBitsPerChannel(byte value)

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

        Parameters:
        value - the value
      • getQuality

        public int getQuality()

        Gets image quality.

        Returns:
        the quality
      • setQuality

        public void setQuality(int value)

        Sets image quality.

        Parameters:
        value - the value
      • getRdOptSettings

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

        Gets the RD optimizer settings.

        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.

        Returns:
        the rgb color profile
      • 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.

        Parameters:
        value - the value
      • 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.

        Returns:
        the cmyk color profile
      • 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.

        Parameters:
        value - the value
      • getJpegLsAllowedLossyError

        public int getJpegLsAllowedLossyError()

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

        Returns:
        the jpeg ls allowed lossy error
      • setJpegLsAllowedLossyError

        public void setJpegLsAllowedLossyError(int value)

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

        Parameters:
        value - the value
      • getJpegLsInterleaveMode

        public JpegLsInterleaveMode getJpegLsInterleaveMode()

        Gets the JPEG-LS interleave mode.

        Returns:
        the jpeg ls interleave mode
      • setJpegLsInterleaveMode

        public void setJpegLsInterleaveMode(JpegLsInterleaveMode value)

        Sets the JPEG-LS interleave mode.

        Parameters:
        value - the value
      • getJpegLsPreset

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

        Gets the JPEG-LS preset parameters.

        Returns:
        the jpeg ls preset
      • setJpegLsPreset

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

        Sets the JPEG-LS preset parameters.

        Parameters:
        value - the value
      • getHorizontalSampling

        public byte[] getHorizontalSampling()

        Gets the horizontal subsamplings for each component.

        Returns:
        the byte [ ]
      • setHorizontalSampling

        public void setHorizontalSampling(byte[] value)

        Sets the horizontal subsamplings for each component.

        Parameters:
        value - the value
      • getVerticalSampling

        public byte[] getVerticalSampling()

        Gets the vertical subsamplings for each component.

        Returns:
        the byte [ ]
      • setVerticalSampling

        public void setVerticalSampling(byte[] value)

        Sets the vertical subsamplings for each component.

        Parameters:
        value - the value
      • getSampleRoundingMode

        public SampleRoundingMode getSampleRoundingMode()

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

        Returns:
        the sample rounding mode
      • setSampleRoundingMode

        public void setSampleRoundingMode(SampleRoundingMode value)

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

        Parameters:
        value - the 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.

        Returns:
        the preblend alpha if present
      • 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.

        Parameters:
        value - the value
      • getResolutionUnit

        public final ResolutionUnit getResolutionUnit()

        Gets the resolution unit.

        Returns:
        the resolution unit.
      • setResolutionUnit

        public final void setResolutionUnit(ResolutionUnit value)

        Sets the resolution unit.

        Parameters:
        value - the resolution unit.
      • setPropertyValues

        public void setPropertyValues(Object propertyValues)
        Specified by:
        setPropertyValues in interface com.jaspersoft.jasperserver.api.engine.jasperreports.common.ExportParameters
        Overrides:
        setPropertyValues in class ImageExportParameters