org.apache.xmlgraphics.image.loader.impl
public class ImageConverterBuffered2Rendered extends AbstractImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY
Constructor and Description |
---|
ImageConverterBuffered2Rendered() |
Modifier and Type | Method and Description |
---|---|
Image |
convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
int |
getConversionPenalty()
Returns the conversion penalty for the conversion that this implementation supports.
|
ImageFlavor |
getSourceFlavor()
Returns the flavor that this converter expects.
|
ImageFlavor |
getTargetFlavor()
Returns the flavor that this converter converts images into.
|
checkSourceFlavor
public Image convert(Image src, java.util.Map hints)
src
- the source imagehints
- the conversion hintspublic ImageFlavor getSourceFlavor()
public ImageFlavor getTargetFlavor()
public int getConversionPenalty()
getConversionPenalty
in interface ImageConverter
getConversionPenalty
in class AbstractImageConverter
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.