public class OpenJpeg extends Object
| Modifier and Type | Field and Description |
|---|---|
libopenjp2 |
lib |
jnr.ffi.Runtime |
runtime |
| Constructor and Description |
|---|
OpenJpeg() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
decode(InStreamWrapper wrapper,
Rectangle area,
int reduceFactor) |
void |
encode(Raster img,
OutStreamWrapper output,
opj_cparameters params) |
Info |
getInfo(InStreamWrapper wrapper) |
public libopenjp2 lib
public jnr.ffi.Runtime runtime
public Info getInfo(InStreamWrapper wrapper) throws IOException
IOExceptionpublic BufferedImage decode(InStreamWrapper wrapper, Rectangle area, int reduceFactor) throws IOException
IOExceptionpublic void encode(Raster img, OutStreamWrapper output, opj_cparameters params) throws IOException
IOExceptionCopyright © 2018. All rights reserved.