I\'m wondering if there is a more efficient method for replacing colors in a BufferedImage. At the moment I use the following method:
I fill an array with colors to
Use a HashMap. The key should be the original color, and the value the replacement. If the get returns null, do nothing.
HashMap