I have an RGB bufferedImage bImg .
I want to convert bImg to gray image.
BufferedImage grayIm=new BufferedImage(bImg.getWidth(null), bImg.getHeight(n
I have had the same issue. The solution that you choose not only depends on the performance level. It is also necessary to understand whick image quality you strive for. Please look at these examples. They all maintain the source code. http://codehustler.org/blog/java-to-create-grayscale-images-icons/