Image
ImageGraphics2D
, ImageRawStream
, ImageRendered
, ImageXMLDOM
public abstract class AbstractImage extends Object implements Image
Constructor | Description |
---|---|
AbstractImage(ImageInfo info) |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
ColorSpace |
getColorSpace() |
Returns the image's color space if the information is available.
|
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.
|
String |
toString() |
getFlavor, isCacheable
public AbstractImage(ImageInfo info)
info
- the image info object associated with this imagepublic ImageInfo getInfo()
public ImageSize getSize()
public ColorSpace getColorSpace()
getColorSpace
in interface Image
public ICC_Profile getICCProfile()
getICCProfile
in interface Image
Copyright © 2018 Apache Software Foundation. All rights reserved.