public final class JPXFilter extends Filter
SYSPROP_DEFLATELEVEL| Constructor | Description |
|---|---|
JPXFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index) |
Decodes data, producing the original non-encoded data.
|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index,
DecodeOptions options) |
Decodes data, with optional DecodeOptions.
|
protected void |
encode(java.io.InputStream input,
java.io.OutputStream encoded,
COSDictionary parameters) |
encode, findImageReader, getDecodeParamspublic DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index, DecodeOptions options) throws java.io.IOException
Filterhonored flag to test if they were applied.decode in class Filterencoded - the encoded byte streamdecoded - the stream where decoded data will be writtenparameters - the parameters used for decodingindex - the index to the filter being decodedoptions - additional options for decodingjava.io.IOException - if the stream cannot be decodedpublic DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index) throws java.io.IOException
Filterdecode in class Filterencoded - the encoded byte streamdecoded - the stream where decoded data will be writtenparameters - the parameters used for decodingindex - the index to the filter being decodedjava.io.IOException - if the stream cannot be decodedprotected void encode(java.io.InputStream input,
java.io.OutputStream encoded,
COSDictionary parameters)
throws java.io.IOException
Copyright © 2002–2018. All rights reserved.