Class AbstractImage
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImage
- All Implemented Interfaces:
Image
- Direct Known Subclasses:
ImageGraphics2D, ImageRawStream, ImageRendered, ImageXMLDOM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the image's color space if the information is available.Returns the ICC color profile if one is associated with the image.getInfo()Returns an object with basic information (URI, MIME type, intrinsic size) about the image.getSize()Returns the image's intrinsic size.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Image
getFlavor, isCacheable
-
Constructor Details
-
AbstractImage
Main constructor- Parameters:
info- the image info object associated with this image
-
-
Method Details
-
getInfo
-
getSize
-
getColorSpace
Returns the image's color space if the information is available.- Specified by:
getColorSpacein interfaceImage- Returns:
- the color space or null if the color space is unknown or undefined
-
getICCProfile
Returns the ICC color profile if one is associated with the image.- Specified by:
getICCProfilein interfaceImage- Returns:
- the ICC color profile or null if there's no profile
-
toString
-