|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.AbstractImageLoader
org.apache.xmlgraphics.image.loader.impl.ImageLoaderPNG
public class ImageLoaderPNG
| Field Summary |
|---|
| Fields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImageLoader |
|---|
MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY |
| Constructor Summary | |
|---|---|
ImageLoaderPNG()
|
|
| Method Summary | |
|---|---|
ImageFlavor |
getTargetFlavor()
Returns the image flavor that is returned by this ImageLoader implementation. |
int |
getUsagePenalty()
Returns the penalty assigned to using this image loader. |
Image |
loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image. |
| Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader |
|---|
ignoreColorProfile, loadImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageLoaderPNG()
| Method Detail |
|---|
public Image loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
throws ImageException,
java.io.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 context
ImageException - if an error occurs while loading the image
java.io.IOException - if an I/O error occurs while loading the imagepublic ImageFlavor getTargetFlavor()
public int getUsagePenalty()
getUsagePenalty in interface ImageLoadergetUsagePenalty in class AbstractImageLoader
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||