Crossfire JXClient, Trunk
R20561
|
A utility to perform the scale2x algorithm on a Java Image. More...
Public Member Functions | |
ImageIcon | getScaledImage () |
Retrieves the scaled image. More... | |
ImageScale2x (@NotNull final Icon srcImageIcon) | |
Creates a new scaler that will scale the passed image. More... | |
Static Public Member Functions | |
static void | main (@NotNull final String[] args) |
An entry point and a bit of test code. More... | |
Private Attributes | |
final int | height |
The height of the image. More... | |
final int [] | srcData |
The src data from the image. More... | |
final int | width |
The width of the image. More... | |
A utility to perform the scale2x algorithm on a Java Image.
Definition at line 34 of file ImageScale2x.java.
com.realtime.crossfire.jxclient.faces.ImageScale2x.ImageScale2x | ( | @NotNull final Icon | srcImageIcon | ) |
Creates a new scaler that will scale the passed image.
srcImageIcon | the image to be scaled |
Definition at line 56 of file ImageScale2x.java.
References com.realtime.crossfire.jxclient.faces.ImageScale2x.height.
Referenced by com.realtime.crossfire.jxclient.faces.ImageScale2x.main().
ImageIcon com.realtime.crossfire.jxclient.faces.ImageScale2x.getScaledImage | ( | ) |
Retrieves the scaled image.
Note this is the method that actually does the work so it may take some time to return.
Definition at line 72 of file ImageScale2x.java.
References com.realtime.crossfire.jxclient.faces.RawScale2x.getScaledData().
Referenced by com.realtime.crossfire.jxclient.faces.ImageScale2x.main(), and com.realtime.crossfire.jxclient.faces.FaceImagesUtils.newFaceImages().
|
static |
An entry point and a bit of test code.
args | the command-line arguments (ignored) |
Definition at line 85 of file ImageScale2x.java.
References com.realtime.crossfire.jxclient.faces.ImageScale2x.getScaledImage(), com.realtime.crossfire.jxclient.faces.ImageScale2x.ImageScale2x(), and com.realtime.crossfire.jxclient.faces.FileCache.save().
|
private |
The height of the image.
Definition at line 50 of file ImageScale2x.java.
Referenced by com.realtime.crossfire.jxclient.faces.ImageScale2x.ImageScale2x().
|
private |
The src data from the image.
Definition at line 40 of file ImageScale2x.java.
|
private |
The width of the image.
Definition at line 45 of file ImageScale2x.java.