public class J2KReadState extends Object
Constructor and Description |
---|
J2KReadState(ImageInputStream iis,
J2KImageReadParamJava param,
J2KImageReader reader)
Constructs
J2KReadState . |
J2KReadState(ImageInputStream iis,
J2KImageReadParamJava param,
J2KMetadata metadata,
J2KImageReader reader)
Constructs
J2KReadState . |
Modifier and Type | Method and Description |
---|---|
ColorModel |
getColorModel() |
Rectangle |
getDestinationRegion() |
HeaderDecoder |
getHeader() |
int |
getHeight() |
ImageTypeSpecifier |
getImageType() |
SampleModel |
getSampleModel() |
Raster |
getTile(int tileX,
int tileY,
WritableRaster raster) |
int |
getWidth() |
Raster |
readAsRaster() |
BufferedImage |
readBufferedImage() |
public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader)
J2KReadState
.iis
- The input stream.param
- The reading parameters.metadata
- The J2KMetadata
to cache the metadata read
from the input stream.reader
- The J2KImageReader
which holds this state.
It is necessary for processing abortion.public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader)
J2KReadState
.iis
- The input stream.param
- The reading parameters.reader
- The J2KImageReader
which holds this state.
It is necessary for processing abortion.public int getWidth() throws IOException
IOException
public int getHeight() throws IOException
IOException
public HeaderDecoder getHeader()
public Raster getTile(int tileX, int tileY, WritableRaster raster) throws IOException
IOException
public Rectangle getDestinationRegion()
public BufferedImage readBufferedImage() throws IOException
IOException
public Raster readAsRaster() throws IOException
IOException
public ImageTypeSpecifier getImageType() throws IOException
IOException
public SampleModel getSampleModel()
public ColorModel getColorModel()
Copyright © 2015–2022 SCIFIO. All rights reserved.