Class ProgressiveScale


  • public class ProgressiveScale
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getType​(java.awt.image.BufferedImage image)  
      static java.awt.image.BufferedImage scale​(java.awt.image.BufferedImage image, int targetWidth, int targetHeight, java.lang.Object interpolation)
      Scales an image progressively, by starting with the original scale and halving it, until the target size is reached.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressiveScale

        public ProgressiveScale()
    • Method Detail

      • getType

        public static int getType​(java.awt.image.BufferedImage image)
      • scale

        public static java.awt.image.BufferedImage scale​(java.awt.image.BufferedImage image,
                                                         int targetWidth,
                                                         int targetHeight,
                                                         java.lang.Object interpolation)
        Scales an image progressively, by starting with the original scale and halving it, until the target size is reached.