public class ImageLoader
extends java.lang.Object
Constructor and Description |
---|
ImageLoader() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFormat(java.lang.String filename)
Get the format name as used by ImageIO readers, from the file extension.
|
static Image |
load(java.io.File file)
Load the first image in the file and, if available, its metadata.
|
static Image |
load(java.lang.String imFilePath)
Load the first image in the file and, if available, its metadata.
|
static java.util.List<Image> |
loadAll(java.io.File file)
For cases where the file may contain more than one image, load all of them.
|
static java.util.List<Image> |
loadAll(java.lang.String imFilePath)
For cases where the file may contain more than one image, load all of them.
|
public static java.lang.String getFormat(java.lang.String filename)
public static Image load(java.lang.String imFilePath)
public static Image load(java.io.File file)
public static java.util.List<Image> loadAll(java.lang.String imFilePath)
public static java.util.List<Image> loadAll(java.io.File file)