Class ImageReader
java.lang.Object
org.eclipse.birt.report.engine.emitter.ImageReader
Image reader of pdf output
- Since:
- 3.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Logger
static final int
property: image read status, object loaded successfullystatic final int
property: image read status, unloadedstatic final int
property: image read status, resource unreachablestatic final int
property: type image object, converted svg imagestatic final int
property: type image object, flashstatic final int
property: type image object, raster imagestatic final int
property: type image object, svg imagestatic final int
property: image read status, unsupported object -
Constructor Summary
ConstructorsConstructorDescriptionImageReader
(IImageContent content, String supportedImageFormats) Constructor -
Method Summary
-
Field Details
-
TYPE_IMAGE_OBJECT
public static final int TYPE_IMAGE_OBJECTproperty: type image object, raster image- See Also:
-
TYPE_FLASH_OBJECT
public static final int TYPE_FLASH_OBJECTproperty: type image object, flash- See Also:
-
TYPE_SVG_OBJECT
public static final int TYPE_SVG_OBJECTproperty: type image object, svg image- See Also:
-
TYPE_CONVERTED_SVG_OBJECT
public static final int TYPE_CONVERTED_SVG_OBJECTproperty: type image object, converted svg image- See Also:
-
OBJECT_UNLOADED
public static final int OBJECT_UNLOADEDproperty: image read status, unloaded- See Also:
-
RESOURCE_UNREACHABLE
public static final int RESOURCE_UNREACHABLEproperty: image read status, resource unreachable- See Also:
-
UNSUPPORTED_OBJECTS
public static final int UNSUPPORTED_OBJECTSproperty: image read status, unsupported object- See Also:
-
OBJECT_LOADED_SUCCESSFULLY
public static final int OBJECT_LOADED_SUCCESSFULLYproperty: image read status, object loaded successfully- See Also:
-
logger
-
-
Constructor Details
-
ImageReader
Constructor- Parameters:
content
- content environment of the imagesupportedImageFormats
- supported image formats
-
-
Method Details
-
read
public int read()Read the image- Returns:
- Return the read status
-
getByteArray
public byte[] getByteArray()Get the byte array of the image- Returns:
- Return the byte array of the image
-
getType
public int getType()Get the image type- Returns:
- Return the image type
-