Package | Description |
---|---|
org.apache.xmlgraphics.image.codec.tiff |
Contains a TIFF image codec.
|
org.apache.xmlgraphics.image.codec.util |
Contains utility classes for image codecs.
|
org.apache.xmlgraphics.image.loader.util |
Contains utilities and helper classes useful in conjunction with the image
package.
|
Modifier and Type | Method and Description |
---|---|
static int |
TIFFDirectory.getNumDirectories(SeekableStream stream)
Returns the number of image directories (subimages) stored in a
given TIFF file, represented by a
SeekableStream . |
Constructor and Description |
---|
TIFFDirectory(SeekableStream stream,
int directory)
Constructs a TIFFDirectory from a SeekableStream.
|
TIFFDirectory(SeekableStream stream,
long ifd_offset,
int directory)
Constructs a TIFFDirectory by reading a SeekableStream.
|
TIFFImage(SeekableStream stream,
TIFFDecodeParam param,
int directory)
Constructs a TIFFImage that acquires its data from a given
SeekableStream and reads from a particular IFD of the stream.
|
TIFFImageDecoder(SeekableStream input,
ImageDecodeParam param) |
Modifier and Type | Class and Description |
---|---|
class |
FileCacheSeekableStream
A subclass of
SeekableStream that may be used to wrap
a regular InputStream . |
class |
ForwardSeekableStream
A subclass of
SeekableStream that may be used
to wrap a regular InputStream efficiently. |
class |
ImageInputStreamSeekableStreamAdapter
A subclass of
SeekableStream that may be used to wrap
a regular ImageInputStream . |
class |
MemoryCacheSeekableStream
A subclass of
SeekableStream that may be used to wrap
a regular InputStream . |
Modifier and Type | Field and Description |
---|---|
protected SeekableStream |
ImageDecoderImpl.input
The
SeekableStream associcted with this
ImageEncoder . |
Modifier and Type | Method and Description |
---|---|
SeekableStream |
ImageDecoderImpl.getInputStream()
Returns the
SeekableStream associated with
this ImageDecoder . |
SeekableStream |
ImageDecoder.getInputStream()
Returns the SeekableStream associated with this ImageDecoder.
|
static SeekableStream |
SeekableStream.wrapInputStream(java.io.InputStream is,
boolean canSeekBackwards)
Returns a
SeekableStream that will read from a
given InputStream , optionally including support
for seeking backwards. |
Constructor and Description |
---|
ImageDecoderImpl(SeekableStream input,
ImageDecodeParam param)
Constructs an
ImageDecoderImpl with a given
SeekableStream and ImageDecodeParam
instance. |
Modifier and Type | Class and Description |
---|---|
class |
SeekableStreamAdapter
Adapter which provides a SeekableStream interface over an ImageInputStream.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.