How to Extract RGB information from Byte array? ? ?

Hi

I have converted an image to byte array using the InputStream, now i want to extract the ARGB data from that byte array.

I have successfully tested my algorithm of extracting ARGB data from an int and then converting back it to original value.But since in InputStream the whole image is contained , i'm unable to find where the real ARGB values are stored.

Please help!!

[400 byte] By [rock_wina] at [2007-10-3 5:16:56]
# 1
HiWhy not create the Image again from that byte array and use the getRGB method afterwards on the newly constructed Image.Mihai
Printisora at 2007-7-14 23:23:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...