public final class JPXFilter extends Filter
SYSPROP_DEFLATELEVEL| Constructor and Description |
|---|
JPXFilter() |
| Modifier and Type | Method and Description |
|---|---|
DecodeResult |
decode(InputStream encoded,
OutputStream decoded,
COSDictionary parameters,
int index)
Decodes data, producing the original non-encoded data.
|
DecodeResult |
decode(InputStream encoded,
OutputStream decoded,
COSDictionary parameters,
int index,
DecodeOptions options)
Decodes data, with optional DecodeOptions.
|
protected void |
encode(InputStream input,
OutputStream encoded,
COSDictionary parameters) |
decode, encode, findImageReader, getCompressionLevel, getDecodeParamspublic DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index, DecodeOptions options) throws IOException
honored 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 decodingIOException - if the stream cannot be decodedpublic DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index) throws 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 decodedIOException - if the stream cannot be decodedprotected void encode(InputStream input, OutputStream encoded, COSDictionary parameters) throws IOException
encode in class FilterIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.