Interface ImageProcessingHints
-
public interface ImageProcessingHintsThis interface defines some standard hints to be used for image processing in this package. They are provided for convenience. You can define your own hints as you like. Generally, consumers should not rely on the presence of any hint!
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectBITMAP_TYPE_INTENTUsed to tell a bitmap producer to generate a certain type of bitmap.static StringBITMAP_TYPE_INTENT_GRAYUsed with BITMAP_TYPE_INTENT to indicate that the generated bitmap should be a grayscale image.static StringBITMAP_TYPE_INTENT_MONOUsed with BITMAP_TYPE_INTENT to indicate that the generated bitmap should be a 1 bit black and white image.static ObjectIGNORE_COLOR_PROFILEUsed to tell the image loader to ignore any color profile in the image.static ObjectIMAGE_MANAGERUsed to pass in theImageManager.static ObjectIMAGE_SESSION_CONTEXTUsed to pass in theImageSessionContext.static ObjectSOURCE_RESOLUTIONUsed to send a hint about the source resolution for pixel to unit conversions.static ObjectTARGET_RESOLUTIONUsed to send a hint about the target resolution (of the final output format).static ObjectTRANSPARENCY_INTENTUsed to indicate how existing transparency information (for example, an alpha channel) shall be treated.static StringTRANSPARENCY_INTENT_IGNOREUsed with TRANSPARENCY_INTENT to indicate that any transparency information shall be ignored.static StringTRANSPARENCY_INTENT_PRESERVEUsed with TRANSPARENCY_INTENT to indicate that any transparency information shall be preserved (the default).
-
-
-
Field Detail
-
SOURCE_RESOLUTION
static final Object SOURCE_RESOLUTION
Used to send a hint about the source resolution for pixel to unit conversions.
-
TARGET_RESOLUTION
static final Object TARGET_RESOLUTION
Used to send a hint about the target resolution (of the final output format).
-
IMAGE_SESSION_CONTEXT
static final Object IMAGE_SESSION_CONTEXT
Used to pass in theImageSessionContext. A consumer can use this to load embedded images over the same mechanism as the main image (ex. JPEG images referenced in an SVG image).- Since:
- 1.4
-
IMAGE_MANAGER
static final Object IMAGE_MANAGER
Used to pass in theImageManager. A consumer can use this to load embedded images over the same mechanism as the main image (ex. JPEG images referenced in an SVG image).- Since:
- 1.4
-
IGNORE_COLOR_PROFILE
static final Object IGNORE_COLOR_PROFILE
Used to tell the image loader to ignore any color profile in the image.
-
BITMAP_TYPE_INTENT
static final Object BITMAP_TYPE_INTENT
Used to tell a bitmap producer to generate a certain type of bitmap.
-
BITMAP_TYPE_INTENT_GRAY
static final String BITMAP_TYPE_INTENT_GRAY
Used with BITMAP_TYPE_INTENT to indicate that the generated bitmap should be a grayscale image.- See Also:
- Constant Field Values
-
BITMAP_TYPE_INTENT_MONO
static final String BITMAP_TYPE_INTENT_MONO
Used with BITMAP_TYPE_INTENT to indicate that the generated bitmap should be a 1 bit black and white image.- See Also:
- Constant Field Values
-
TRANSPARENCY_INTENT
static final Object TRANSPARENCY_INTENT
Used to indicate how existing transparency information (for example, an alpha channel) shall be treated.
-
TRANSPARENCY_INTENT_PRESERVE
static final String TRANSPARENCY_INTENT_PRESERVE
Used with TRANSPARENCY_INTENT to indicate that any transparency information shall be preserved (the default).- See Also:
- Constant Field Values
-
TRANSPARENCY_INTENT_IGNORE
static final String TRANSPARENCY_INTENT_IGNORE
Used with TRANSPARENCY_INTENT to indicate that any transparency information shall be ignored.- See Also:
- Constant Field Values
-
-