Class OperationJpeg


  • public class OperationJpeg
    extends Object
    Defines a target JPEG image format.
    • Constructor Detail

      • OperationJpeg

        public OperationJpeg()
    • Method Detail

      • getDpi

        @Nullable
        public @Nullable Integer getDpi()
        This parameter is used to define the image's DPI resolution. The larger the value, the larger the image's x, y resolution. In addition, the larger the DPI resolution, the larger the size of the image file. minimum: 0 maximum: 9600
        Returns:
        dpi
      • setDpi

        public void setDpi​(Integer dpi)
      • getHeight

        @Nullable
        public @Nullable Integer getHeight()
        Used to limit the maximum height of the exported image. 0 = No restriction minimum: 0
        Returns:
        height
      • setHeight

        public void setHeight​(Integer height)
      • getJpegQuality

        @Nullable
        public @Nullable Integer getJpegQuality()
        When exporting to \"jpg\" format, this parameter can be used to define the image's quality as a percentage. The value must fall between 0 and 100. The larger the value, the better the quality and the lower the compression level. minimum: 0 maximum: 100
        Returns:
        jpegQuality
      • setJpegQuality

        public void setJpegQuality​(Integer jpegQuality)
      • getMetrics

        @Nullable
        public @Nullable OperationJpeg.MetricsEnum getMetrics()
        Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
        Returns:
        metrics
      • getSizeOptimization

        @Nullable
        public @Nullable OperationSizeOptimization getSizeOptimization()
        Get sizeOptimization
        Returns:
        sizeOptimization
      • getWidth

        @Nullable
        public @Nullable Integer getWidth()
        Used to limit the maximum width of the exported image. 0 = No restriction minimum: 0
        Returns:
        width
      • setWidth

        public void setWidth​(Integer width)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object