equal
deleted
inserted
replaced
35 /** |
35 /** |
36 * This class is an implementation of the ImageProducer interface which |
36 * This class is an implementation of the ImageProducer interface which |
37 * takes an existing image and a filter object and uses them to produce |
37 * takes an existing image and a filter object and uses them to produce |
38 * image data for a new filtered version of the original image. |
38 * image data for a new filtered version of the original image. |
39 * Here is an example which filters an image by swapping the red and |
39 * Here is an example which filters an image by swapping the red and |
40 * blue compents: |
40 * blue components: |
41 * <pre> |
41 * <pre> |
42 * |
42 * |
43 * Image src = getImage("doc:///demo/images/duke/T1.gif"); |
43 * Image src = getImage("doc:///demo/images/duke/T1.gif"); |
44 * ImageFilter colorfilter = new RedBlueSwapFilter(); |
44 * ImageFilter colorfilter = new RedBlueSwapFilter(); |
45 * Image img = createImage(new FilteredImageSource(src.getSource(), |
45 * Image img = createImage(new FilteredImageSource(src.getSource(), |