Class RawScale8d
java.lang.Object
com.realtime.crossfire.jxclient.faces.RawScale8d
Scales down a raw image to an eighth in both dimensions.
-
Constructor Summary
ConstructorsConstructorDescriptionRawScale8d(int @NotNull [] imageData, int dataWidth, int dataHeight) Creates a new instance. -
Method Summary
-
Constructor Details
-
RawScale8d
public RawScale8d(int @NotNull [] imageData, int dataWidth, int dataHeight) Creates a new instance.- Parameters:
imageData- the source image data to processdataWidth- the width of the source imagedataHeight- 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
-