public class ImageLoaderImageIO extends AbstractImageLoader
| Modifier and Type | Field and Description |
|---|---|
static String |
ICC_CONVERTER |
protected static org.apache.commons.logging.Log |
log
logger
|
MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY| Constructor and Description |
|---|
ImageLoaderImageIO(ImageFlavor targetFlavor)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ImageFlavor |
getTargetFlavor()
Returns the image flavor that is returned by this ImageLoader implementation.
|
Image |
loadImage(ImageInfo info,
Map<String,Object> hints,
ImageSessionContext session)
Loads and returns an image.
|
getUsagePenalty, ignoreColorProfile, loadImageprotected static final org.apache.commons.logging.Log log
public static final String ICC_CONVERTER
public ImageLoaderImageIO(ImageFlavor targetFlavor)
targetFlavor - the target flavorpublic ImageFlavor getTargetFlavor()
public Image loadImage(ImageInfo info, Map<String,Object> hints, ImageSessionContext session) throws ImageException, IOException
info - the image info object indicating the imagehints - a Map of hints that can be used by implementations to customize the loading
process (may be null).session - the session contextImageException - if an error occurs while loading the imageIOException - if an I/O error occurs while loading the imageCopyright © 2025 Apache Software Foundation. All rights reserved.