ImageConverter
public class ImageConverterBitmap2G2D extends AbstractImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY
Constructor | Description |
---|---|
ImageConverterBitmap2G2D() |
Modifier and Type | Method | Description |
---|---|---|
Image |
convert(Image src,
java.util.Map hints) |
Converts an image into a different representation.
|
ImageFlavor |
getSourceFlavor() |
Returns the flavor that this converter expects.
|
ImageFlavor |
getTargetFlavor() |
Returns the flavor that this converter converts images into.
|
checkSourceFlavor, getConversionPenalty
public Image convert(Image src, java.util.Map hints)
Consumers can get the effective MIME type (if any) from the
associated ImageFlavor
.
src
- the source imagehints
- the conversion hintspublic ImageFlavor getSourceFlavor()
public ImageFlavor getTargetFlavor()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.