Click to See Complete Forum and Search --> : How can I change a image file into a int array


Peng Zheng
March 6th, 2000, 09:31 PM
I'm beginner to java. I want to put a gif or jpg file into a java source file so that I can keep one file. So I need to read in the image file and and create a int array to keep the data. How can I do it? Can anyone help me? Some example code is preferable.

March 20th, 2000, 08:14 AM
Look at the PixelGrabber class