ImageLoaderCompositeImageLoader, ImageLoaderEPS, ImageLoaderImageIO, ImageLoaderInternalTIFF, ImageLoaderPNG, ImageLoaderRaw, ImageLoaderRawCCITTFax, ImageLoaderRawJPEG, ImageLoaderRawPNGpublic abstract class AbstractImageLoader extends 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(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, IOException
loadImage in interface ImageLoaderinfo - the image info object indicating the imagesession - the session contextImageException - if an error occurs while loading the imageIOException - if an I/O error occurs while loading the imagepublic int getUsagePenalty()
getUsagePenalty in interface ImageLoaderprotected boolean ignoreColorProfile(Map hints)
hints - a Map of hints that can be used by implementations to customize the loading
process (may be null).Copyright © 2018 Apache Software Foundation. All rights reserved.