I have an image with TYPE_3BYTE_BGR
and I want to convert it to a TYPE_INT_RGB
.
Though I have searched, I have not found a method to do this. I want to convert the image pixel by pixel. However, it seems that BufferedImage.getRGB(i, j)
doesn't work.
How can I get the RGB values in an image of type TYPE_3BYTE_BGR
?