Package org.apache.fop.util.bitmap
Interface MonochromeBitmapConverter
- All Known Implementing Classes:
DefaultMonochromeBitmapConverter
,JAIMonochromeBitmapConverter
public interface MonochromeBitmapConverter
Interface for converters that convert images to monochrome (1-bit, bi-level) bitmap images.
-
Method Summary
Modifier and TypeMethodDescriptionConverts a bitmap image to a monochrome (1-bit) b/w bitmap image.void
Sets a hint to the implementation
-
Method Details
-
setHint
Sets a hint to the implementation- Parameters:
name
- the name of the hintvalue
- the value
-
convertToMonochrome
Converts a bitmap image to a monochrome (1-bit) b/w bitmap image.- Parameters:
img
- the original image- Returns:
- the converted monochrome image
-