Package | Description |
---|---|
javax.imageio |
The main package of the Java Image I/O API.
|
javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces
for readers, writers, transcoders, and streams, and a runtime
registry.
|
javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from
files and streams.
|
Modifier and Type | Method and Description |
---|---|
static ImageInputStream |
ImageIO.createImageInputStream(Object input)
Returns an
ImageInputStream that will take its
input from the given Object . |
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageIO.read(ImageInputStream stream)
Returns a
BufferedImage as the result of decoding
a supplied ImageInputStream with an
ImageReader chosen automatically from among those
currently registered. |
Modifier and Type | Method and Description |
---|---|
ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object input)
Returns an instance of the
ImageInputStream
implementation associated with this service provider. |
abstract ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object input,
boolean useCache,
File cacheDir)
Returns an instance of the
ImageInputStream
implementation associated with this service provider. |
Modifier and Type | Interface and Description |
---|---|
interface |
ImageOutputStream
A seekable output stream interface for use by
ImageWriter s. |
Modifier and Type | Class and Description |
---|---|
class |
FileCacheImageInputStream
An implementation of
ImageInputStream that gets its
input from a regular InputStream . |
class |
FileCacheImageOutputStream
An implementation of
ImageOutputStream that writes its
output to a regular OutputStream . |
class |
FileImageInputStream
An implementation of
ImageInputStream that gets its
input from a File or RandomAccessFile . |
class |
FileImageOutputStream
An implementation of
ImageOutputStream that writes its
output directly to a File or
RandomAccessFile . |
class |
ImageInputStreamImpl
An abstract class implementing the
ImageInputStream interface. |
class |
ImageOutputStreamImpl
An abstract class implementing the
ImageOutputStream interface. |
class |
MemoryCacheImageInputStream
An implementation of
ImageInputStream that gets its
input from a regular InputStream . |
class |
MemoryCacheImageOutputStream
An implementation of
ImageOutputStream that writes its
output to a regular OutputStream . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.