Constructor and Description |
---|
JAIUtil() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getSupportedReadFormat() |
static String[] |
getSupportedWriteFormat() |
static boolean |
isJAISupported() |
static boolean |
isSupportedReadFormat(String format) |
static boolean |
isSupportedWriteFormat(String format) |
static BufferedImage |
read(InputStream is,
String format) |
static BufferedImage |
read(Resource res) |
static void |
write(BufferedImage img,
OutputStream os,
String format) |
static void |
write(BufferedImage img,
Resource res,
String format) |
public JAIUtil()
public static boolean isSupportedWriteFormat(String format)
public static boolean isSupportedReadFormat(String format)
public static String[] getSupportedReadFormat()
public static String[] getSupportedWriteFormat()
public static boolean isJAISupported()
public static BufferedImage read(Resource res) throws IOException
IOException
public static BufferedImage read(InputStream is, String format) throws IOException
IOException
public static void write(BufferedImage img, Resource res, String format) throws IOException
IOException
public static void write(BufferedImage img, OutputStream os, String format) throws IOException
IOException
Copyright © 2015 Lucee