|
Sep 23
|
The ImageIO class provides a number of methods for reading images from different sources.
// Get the input stream to read the image from // NB. getImageStream() is an arbitrary method // thats returns the input stream to read the // image from InputStream in = getImageStream(); // load the image from the stream BufferedImage image = ImageIO.read(in);



Recent Comments