All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.image.ImageFilter | +----Acme.JPM.Filters.ImageFilterPlus | +----Acme.JPM.Filters.ScaleCopy
Scales an image by copying pixels. If the image is being enlarged, pixels get replicated; if the image is being shrunk, pixels get dropped. The output uses the same color model as the input. For enlarging, this filter is slightly slower than Enlarge due to the floating-point arithmetic; for shrinking, it's much faster than Shrink, but the results aren't as nice.
Fetch the software.
Fetch the entire Acme package.
public ScaleCopy(ImageProducer producer, double scale)
public ScaleCopy(ImageProducer producer, double xScale, double yScale)
public void setDimensions(int width, int height)
public void setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize)
public void setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize)
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs