¡@

Home 

java Programming Glossary: tinted

Tinting Image in Java improvement

http://stackoverflow.com/questions/14225518/tinting-image-in-java-improvement

null int height original.getHeight null BufferedImage tinted new BufferedImage width height BufferedImage.TRANSLUCENT Graphics2D.. BufferedImage.TRANSLUCENT Graphics2D graphics Graphics2D tinted.getGraphics graphics.drawImage original 0 0 width height null.. for int i 0 i width i for int j 0 j height j if tinted.getRGB i j n.getRGB tint.setRGB i j c.getRGB graphics.drawImage..