public interface JAIIIOService extends Service
Modifier and Type | Method and Description |
---|---|
BufferedImage |
readImage(InputStream in)
Reads an image using JAI Image I/O using the JPEG 2000 codec.
|
BufferedImage |
readImage(InputStream in,
JPEG2000CodecOptions options)
Reads an image using JAI Image I/O using the JPEG 2000 codec.
|
Raster |
readRaster(InputStream in)
Reads an image into a raster using JAI Image I/O using the JPEG 2000 codec.
|
Raster |
readRaster(InputStream in,
JPEG2000CodecOptions options)
Reads an image into a raster using JAI Image I/O using the JPEG 2000 codec.
|
void |
writeImage(OutputStream out,
BufferedImage img,
JPEG2000CodecOptions options)
Writes an image using JAI Image I/O using the JPEG 2000 codec.
|
void writeImage(OutputStream out, BufferedImage img, JPEG2000CodecOptions options) throws IOException, ServiceException
out
- Target output stream.img
- Source buffered image.options
- Options for the JPEG 2000 codec.IOException
- Thrown if there is an error reading from or writing
to one of the target streams / buffers.ServiceException
- Thrown if there is an error initializing or
interacting with the dependencies of the service.BufferedImage readImage(InputStream in, JPEG2000CodecOptions options) throws IOException, ServiceException
in
- Target input stream.options
- Options for the JPEG 2000 codec.IOException
- Thrown if there is an error reading from or writing
to one of the target streams / buffers.ServiceException
- Thrown if there is an error initializing or
interacting with the dependencies of the service.BufferedImage readImage(InputStream in) throws IOException, ServiceException
in
- Target input stream.IOException
- Thrown if there is an error reading from or writing
to one of the target streams / buffers.ServiceException
- Thrown if there is an error initializing or
interacting with the dependencies of the service.readImage(InputStream, JPEG2000CodecOptions)
Raster readRaster(InputStream in, JPEG2000CodecOptions options) throws IOException, ServiceException
in
- Target input stream.options
- Options for the JPEG 2000 codec.IOException
- Thrown if there is an error reading from or writing
to one of the target streams / buffers.ServiceException
- Thrown if there is an error initializing or
interacting with the dependencies of the service.Raster readRaster(InputStream in) throws IOException, ServiceException
in
- Target input stream.IOException
- Thrown if there is an error reading from or writing
to one of the target streams / buffers.ServiceException
- Thrown if there is an error initializing or
interacting with the dependencies of the service.readRaster(InputStream, JPEG2000CodecOptions)
Copyright © 2015 Open Microscopy Environment