Package org.apache.fop.render
Class ImageHandlerUtil
java.lang.Object
org.apache.fop.render.ImageHandlerUtil
Utility methods for image handling.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.xmlgraphics.util.QName
conversion-mode extension attributestatic final String
Conversion mode: indicates that the image shall be converted to a bitmap. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isConversionModeBitmap
(String mode) Indicates whether the image conversion mode is set to bitmap mode, i.e.static boolean
isConversionModeBitmap
(Map foreignAttributes) Indicates whether the image conversion mode is set to bitmap mode, i.e.
-
Field Details
-
CONVERSION_MODE
public static final org.apache.xmlgraphics.util.QName CONVERSION_MODEconversion-mode extension attribute -
CONVERSION_MODE_BITMAP
Conversion mode: indicates that the image shall be converted to a bitmap.- See Also:
-
-
Method Details
-
isConversionModeBitmap
Indicates whether the image conversion mode is set to bitmap mode, i.e. the image shall be converted to a bitmap.- Parameters:
mode
- the conversion mode- Returns:
- true if conversion mode is "bitmap"
-
isConversionModeBitmap
Indicates whether the image conversion mode is set to bitmap mode, i.e. the image shall be converted to a bitmap.- Parameters:
foreignAttributes
- a map of foreign attributes (Map<QName, Object>)- Returns:
- true if conversion mode is "bitmap"
-