ImageImageGraphics2D, ImageRawStream, ImageRendered, ImageXMLDOMpublic abstract class AbstractImage extends java.lang.Object implements Image
| Constructor | Description |
|---|---|
AbstractImage(ImageInfo info) |
Main constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.color.ColorSpace |
getColorSpace() |
Returns the image's color space if the information is available.
|
java.awt.color.ICC_Profile |
getICCProfile() |
Returns the ICC color profile if one is associated with the image.
|
ImageInfo |
getInfo() |
Returns an object with basic information (URI, MIME type, intrinsic size) about the image.
|
ImageSize |
getSize() |
Returns the image's intrinsic size.
|
java.lang.String |
toString() |
getFlavor, isCacheablepublic AbstractImage(ImageInfo info)
info - the image info object associated with this imagepublic ImageInfo getInfo()
public ImageSize getSize()
public java.awt.color.ColorSpace getColorSpace()
getColorSpace in interface Imagepublic java.awt.color.ICC_Profile getICCProfile()
getICCProfile in interface Imagepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.