ImageLoaderCompositeImageLoader, ImageLoaderEPS, ImageLoaderImageIO, ImageLoaderInternalTIFF, ImageLoaderPNG, ImageLoaderRaw, ImageLoaderRawCCITTFax, ImageLoaderRawJPEG, ImageLoaderRawPNGpublic abstract class AbstractImageLoader extends java.lang.Object implements ImageLoader
MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY| Constructor | Description |
|---|---|
AbstractImageLoader() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getUsagePenalty() |
Returns the penalty assigned to using this image loader.
|
protected boolean |
ignoreColorProfile(java.util.Map hints) |
Indicates whether an embedded color profile should be ignored.
|
Image |
loadImage(ImageInfo info,
ImageSessionContext session) |
Loads and returns an image.
|
getTargetFlavor, loadImagepublic Image loadImage(ImageInfo info, ImageSessionContext session) throws ImageException, java.io.IOException
loadImage in interface ImageLoaderinfo - the image info object indicating the imagesession - the session contextImageException - if an error occurs while loading the imagejava.io.IOException - if an I/O error occurs while loading the imagepublic int getUsagePenalty()
getUsagePenalty in interface ImageLoaderprotected boolean ignoreColorProfile(java.util.Map hints)
hints - a Map of hints that can be used by implementations to customize the loading
process (may be null).Copyright 1999-2018 The Apache Software Foundation. All Rights Reserved.