All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.Enlarge

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----Acme.JPM.Filters.ImageFilterPlus
                   |
                   +----Acme.JPM.Filters.Enlarge

public class Enlarge
extends ImageFilterPlus
An ImageFilter that enlarges by pixel replication.

Enlarges an image an integral factor by replicating pixels. The output uses the same color model as the input. This filter is very fast.

Fetch the software.
Fetch the entire Acme package.

See Also:
Shrink, ScaleCopy

Constructor Index

 o Enlarge(ImageProducer, int)
Constructor.

Method Index

 o main(String[])
 o setDimensions(int, int)
 o setPixels(int, int, int, int, ColorModel, byte[], int, int)
 o setPixels(int, int, int, int, ColorModel, int[], int, int)

Constructors

 o Enlarge
 public Enlarge(ImageProducer producer,
                int multiplier)
Constructor.

Methods

 o setDimensions
 public void setDimensions(int width,
                           int height)
Overrides:
setDimensions in class ImageFilter
 o setPixels
 public void setPixels(int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       byte pixels[],
                       int off,
                       int scansize)
Overrides:
setPixels in class ImageFilter
 o setPixels
 public void setPixels(int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       int pixels[],
                       int off,
                       int scansize)
Overrides:
setPixels in class ImageFilter
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs