public class PNGImageLoader extends Object implements ImageLoader
Constructor and Description |
---|
PNGImageLoader() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
load(String fileName)
Loads an image from a PNG image file.
|
public BufferedImage load(String fileName) throws IOException
load
in interface ImageLoader
fileName
- a file to load image from.IOException