Modifier and Type | Method and Description |
---|---|
static Coder |
getInstance() |
abstract String[] |
getReaderFormatNames() |
abstract String[] |
getWriterFormatNames() |
abstract BufferedImage |
toBufferedImage(byte[] bytes,
String format)
translate a binary array to a buffered image
|
abstract BufferedImage |
toBufferedImage(Resource res,
String format)
translate a file resource to a buffered image
|
public static Coder getInstance()
public abstract BufferedImage toBufferedImage(Resource res, String format) throws IOException
res
- IOException
public abstract BufferedImage toBufferedImage(byte[] bytes, String format) throws IOException
binary
- IOException
public abstract String[] getWriterFormatNames()
public abstract String[] getReaderFormatNames()
Copyright © 2015 Lucee