railo.runtime.img
Class JAIUtil
java.lang.Object
railo.runtime.img.JAIUtil
public class JAIUtil
- extends Object
JAIUtil
public JAIUtil()
isSupportedWriteFormat
public static boolean isSupportedWriteFormat(String format)
isSupportedReadFormat
public static boolean isSupportedReadFormat(String format)
getSupportedReadFormat
public static String[] getSupportedReadFormat()
getSupportedWriteFormat
public static String[] getSupportedWriteFormat()
isJAISupported
public static boolean isJAISupported()
read
public static BufferedImage read(Resource res)
throws IOException
- Throws:
IOException
read
public static BufferedImage read(InputStream is,
String format)
throws IOException
- Throws:
IOException
write
public static void write(BufferedImage img,
Resource res,
String format)
throws IOException
- Throws:
IOException
write
public static void write(BufferedImage img,
OutputStream os,
String format)
throws IOException
- Throws:
IOException
Copyright © 2012 Railo