public class ImageConverterRendered2PNG extends AbstractImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY| Constructor and Description |
|---|
ImageConverterRendered2PNG() |
| Modifier and Type | Method and Description |
|---|---|
Image |
convert(Image src,
java.util.Map<java.lang.String,java.lang.Object> 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, getConversionPenaltypublic Image convert(Image src, java.util.Map<java.lang.String,java.lang.Object> hints) throws ImageException, java.io.IOException
Consumers can get the effective MIME type (if any) from the
associated ImageFlavor.
src - the source imagehints - the conversion hintsImageException - if an error occurs while converting the imagejava.io.IOException - if an I/O error occurs while converting the imagepublic ImageFlavor getSourceFlavor()
public ImageFlavor getTargetFlavor()
Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.