public class ImageIoImageContainer extends Object implements IImageContainer
| Constructor and Description |
|---|
ImageIoImageContainer(RenderingHints hints,
ImageIoImageMetadata metadata,
ImageReader imageReader) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
asBufferImage() |
IImageContainer |
crop(float x,
float y,
float width,
float height) |
IImageContainer |
crop(Rectangle rectangle) |
void |
dispose() |
IImageContainer |
fit(int width,
int height) |
int |
getColorSpaceType() |
int |
getHeight() |
int |
getNumberOfBands() |
int |
getNumberOfComponents() |
int |
getWidth() |
IImageContainer |
invert() |
IImageContainer |
mapBands(int[] bandMapping) |
IImageContainer |
scale(float factor) |
IImageContainer |
scale(float widthFactor,
float heightFactor) |
IImageContainer |
toGrayScale() |
public ImageIoImageContainer(RenderingHints hints, ImageIoImageMetadata metadata, ImageReader imageReader)
public void dispose()
dispose in interface IImageContainerpublic int getWidth()
getWidth in interface IImageContainerpublic int getHeight()
getHeight in interface IImageContainerpublic int getNumberOfComponents()
getNumberOfComponents in interface IImageContainerpublic int getNumberOfBands()
getNumberOfBands in interface IImageContainerpublic int getColorSpaceType()
getColorSpaceType in interface IImageContainerpublic IImageContainer crop(Rectangle rectangle)
crop in interface IImageContainerpublic IImageContainer crop(float x, float y, float width, float height)
crop in interface IImageContainerpublic IImageContainer fit(int width, int height)
fit in interface IImageContainerpublic IImageContainer scale(float widthFactor, float heightFactor)
scale in interface IImageContainerpublic IImageContainer scale(float factor)
scale in interface IImageContainerpublic IImageContainer invert()
invert in interface IImageContainerpublic IImageContainer toGrayScale()
toGrayScale in interface IImageContainerpublic IImageContainer mapBands(int[] bandMapping)
mapBands in interface IImageContainerpublic BufferedImage asBufferImage()
asBufferImage in interface IImageContainerCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.