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