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 ImageOutputStream |
ImageIO.createImageOutputStream(Object output)
Returns an
ImageOutputStream that will send its
output to the given Object . |
Modifier and Type | Method and Description |
---|---|
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
ImageOutputStream output)
Writes an image using the an arbitrary
ImageWriter
that supports the given format to an
ImageOutputStream . |
Modifier and Type | Method and Description |
---|---|
ImageOutputStream |
ImageOutputStreamSpi.createOutputStreamInstance(Object output)
Returns an instance of the
ImageOutputStream
implementation associated with this service provider. |
abstract ImageOutputStream |
ImageOutputStreamSpi.createOutputStreamInstance(Object output,
boolean useCache,
File cacheDir)
Returns an instance of the
ImageOutputStream
implementation associated with this service provider. |
Modifier and Type | Class and Description |
---|---|
class |
FileCacheImageOutputStream
An implementation of
ImageOutputStream that writes its
output to a regular OutputStream . |
class |
FileImageOutputStream
An implementation of
ImageOutputStream that writes its
output directly to a File or
RandomAccessFile . |
class |
ImageOutputStreamImpl
An abstract class implementing the
ImageOutputStream interface. |
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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.