Class ImageScale2x

java.lang.Object
games.stendhal.tools.charas.ImageScale2x

public class ImageScale2x extends Object
A utility to perform the scale2x algorithm on an image.
Author:
Kevin Glass, johnnnny
  • Method Details

    • getScaledImage

      public static BufferedImage getScaledImage(BufferedImage srcImage)
      Retrieve the scaled image. Note this is the method that actually does the work so it may take some time to return
      Parameters:
      srcImage - the source image to be scaled
      Returns:
      The newly scaled image