I am making a java program that reads a binary file, which contains multiple images (in PNG format), and some binary data.
How can i load the images (specifically, as java.awt.Image
's) ? So far the only way i have found to load an image is via functions that just take a file. How can i do it from, say, an InputStream ?