Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.render
Class ImageHandlerUtil

    java.lang.Object
      org.apache.fop.render.ImageHandlerUtil

    public final class ImageHandlerUtil

extends java.lang.Object

Utility methods for image handling.

Field Summary
`static org.apache.xmlgraphics.util.QName` | `CONVERSION_MODE` conversion-mode extension attribute
`static java.lang.String` | `CONVERSION_MODE_BITMAP` Conversion mode: indicates that the image shall be converted to a bitmap.

Method Summary
`static boolean` | `isConversionModeBitmap(java.util.Map foreignAttributes)` Indicates whether the image conversion mode is set to bitmap mode, i.e.
`static boolean` | `isConversionModeBitmap(java.lang.String mode)` Indicates whether the image conversion mode is set to bitmap mode, i.e.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### CONVERSION_MODE

    public static final org.apache.xmlgraphics.util.QName CONVERSION_MODE

  conversion-mode extension attribute

### CONVERSION_MODE_BITMAP

    public static final java.lang.String CONVERSION_MODE_BITMAP

  Conversion mode: indicates that the image shall be converted to a bitmap.

  See Also:
    Constant Field Values

Method Detail

### isConversionModeBitmap

    public static boolean isConversionModeBitmap(java.lang.String mode)

  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

    public static boolean isConversionModeBitmap(java.util.Map foreignAttributes)

  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"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.