Could anyone explain for me how java stores color in TYPE_INT_RGB and TYPE_INT_ARGB ? Do these lines of code work properly for calculating red, green and blue ?
These are constant values that indicate the color model of an instance of BufferedImage. These values do not themselves store the color.
BufferedImage