Class Web

    • Constructor Detail

      • Web

        public Web()
    • Method Detail

      • getResolutionDPI

        public java.lang.Double getResolutionDPI()

        The target resolution of images in DPI (Getter)

        The target resolution in DPI (dots per inch) for color and grayscale images.

        Images with a resolution above getThresholdDPI() are down-sampled.

        Valid values are in the range 1.0 to 10000.

        Set to null to deactivate down-sampling of images.

        Default: 150.

      • setResolutionDPI

        public void setResolutionDPI​(java.lang.Double value)

        The target resolution of images in DPI (Setter)

        The target resolution in DPI (dots per inch) for color and grayscale images.

        Images with a resolution above getThresholdDPI() are down-sampled.

        Valid values are in the range 1.0 to 10000.

        Set to null to deactivate down-sampling of images.

        Default: 150.

        Throws:
        java.lang.IllegalArgumentException - The given value is outside of range 1.0 to 10000.0.
      • getThresholdDPI

        public double getThresholdDPI()

        The threshold resolution of images in DPI. (Getter)

        The threshold resolution in DPI (dots per inch) to selectively activate downsampling for color and grayscale images.

        Valid values are in the range 1.0 to 10000. To deactivate down-sampling of images set getResolutionDPI() to null.

        Default: 1.4 times getResolutionDPI().

      • setThresholdDPI

        public void setThresholdDPI​(double value)

        The threshold resolution of images in DPI. (Setter)

        The threshold resolution in DPI (dots per inch) to selectively activate downsampling for color and grayscale images.

        Valid values are in the range 1.0 to 10000. To deactivate down-sampling of images set getResolutionDPI() to null.

        Default: 1.4 times getResolutionDPI().

        Throws:
        java.lang.IllegalArgumentException - The given value is outside of range 1.0 to 10000.0.