ImageConverterImageConverterBitmap2G2D, ImageConverterBuffered2Rendered, ImageConverterG2D2Bitmap, ImageConverterRendered2PNGpublic abstract class AbstractImageConverter extends Object implements ImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY| Constructor | Description |
|---|---|
AbstractImageConverter() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
checkSourceFlavor(Image img) |
Checks if the source flavor of the given image is compatible with this ImageConverter.
|
int |
getConversionPenalty() |
Returns the conversion penalty for the conversion that this implementation supports.
|
convert, getSourceFlavor, getTargetFlavorprotected void checkSourceFlavor(Image img)
img - the image to checkpublic int getConversionPenalty()
getConversionPenalty in interface ImageConverterCopyright © 2018 Apache Software Foundation. All rights reserved.