The code in Listing 5
At this point, the color of the pixel in the original image has been modified.
Listing 5. Set pixel color in original image. |
---|
Color newColor = new Color( redInt,greenInt,blueInt); pix.getPixel(xIndex,yIndex).setColor(newColor); |
File: ao.htm | [Next] | [Prev] |