public class ICODecoder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static List<BufferedImage> |
read(File file)
Reads and decodes the given ICO file.
|
static List<BufferedImage> |
read(InputStream is)
Reads and decodes ICO data from the given source.
|
static List<ICOImage> |
readExt(File file)
Reads and decodes the given ICO file, together with all metadata.
|
static List<ICOImage> |
readExt(InputStream is)
Reads and decodes ICO data from the given source, together with all
metadata.
|
public static List<BufferedImage> read(File file) throws IOException
read(new
java.io.FileInputStream(file)).file - the source file to readIOException - if an error occurspublic static List<ICOImage> readExt(File file) throws IOException
readExt(new java.io.FileInputStream(file)).file - the source file to readIOException - if an error occurspublic static List<BufferedImage> read(InputStream is) throws IOException
is - the source InputStream to readIOException - if an error occurspublic static List<ICOImage> readExt(InputStream is) throws IOException
is - the source InputStream to readIOException - if an error occursCopyright © 2021. All rights reserved.