railo.runtime.img.coder
Class Coder
java.lang.Object
railo.runtime.img.coder.Coder
public abstract class Coder
- extends Object
getInstance
public static Coder getInstance()
toBufferedImage
public abstract BufferedImage toBufferedImage(Resource res,
String format)
throws IOException
- translate a file resource to a buffered image
- Parameters:
res
-
- Returns:
-
- Throws:
IOException
toBufferedImage
public abstract BufferedImage toBufferedImage(byte[] bytes,
String format)
throws IOException
- translate a binary array to a buffered image
- Parameters:
binary
-
- Returns:
-
- Throws:
IOException
getWriterFormatNames
public abstract String[] getWriterFormatNames()
getReaderFormatNames
public abstract String[] getReaderFormatNames()
Copyright © 2012 Railo