How images stores in awt.Image class?
I am confused over the link between RGB, YUV and awt.Image.
I converted a buffer having RGBFormat data to an awt.Image. I then converted a buffer having YUVFormat data to an awt.Image using BufferTo Image.createImage(format) method. (RGBFormat and YUVFormat are classes in java for RGB and YUV data). Then when i tried to display the Image object using a BufferedImage object of RGB type and surprisingly i got the same images with both formats.
Is the output awt.Image of RGB and YUV same?
Does Image class store images as RGB (or) How is awt.Image stored?
Thank you in advance... :)