Class RawScale8d

java.lang.Object
com.realtime.crossfire.jxclient.faces.RawScale8d

public class RawScale8d extends Object
Scales down a raw image to an eighth in both dimensions.
  • Constructor Details

    • RawScale8d

      public RawScale8d(int @NotNull [] imageData, int dataWidth, int dataHeight)
      Creates a new instance.
      Parameters:
      imageData - the source image data to process
      dataWidth - the width of the source image
      dataHeight - the height of the source image
  • Method Details

    • getScaledData

      public int @NotNull [] getScaledData()
      Returns the scale image data. Note this is the method that does the work, so it might take some time to process.
      Returns:
      an array of pixels 64 times smaller than the input array containing the scaled down image