public class OpenJpeg
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
libopenjp2 |
lib |
|
jnr.ffi.Runtime |
runtime |
| Constructor | Description |
|---|---|
OpenJpeg() |
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.image.BufferedImage |
decode(InStreamWrapper wrapper,
java.awt.Rectangle area,
int reduceFactor) |
|
void |
encode(java.awt.image.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 java.io.IOException
java.io.IOExceptionpublic java.awt.image.BufferedImage decode(InStreamWrapper wrapper, java.awt.Rectangle area, int reduceFactor) throws java.io.IOException
java.io.IOExceptionpublic void encode(java.awt.image.Raster img,
OutStreamWrapper output,
opj_cparameters params)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All rights reserved.