public class ThumbnailTranscoder extends ImageTranscoder
SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent
Modifier and Type | Field and Description |
---|---|
private BufferedImage |
lastimg
Last image produced.
|
KEY_BACKGROUND_COLOR, KEY_FORCE_TRANSPARENT_WHITE
builder, ctx, curAOI, curTxf, DEFAULT_ALLOWED_SCRIPT_TYPES, DEFAULT_DEFAULT_FONT_FAMILY, height, KEY_ALLOWED_SCRIPT_TYPES, KEY_ALTERNATE_STYLESHEET, KEY_AOI, KEY_CONSTRAIN_SCRIPT_ORIGIN, KEY_DEFAULT_FONT_FAMILY, KEY_EXECUTE_ONLOAD, KEY_HEIGHT, KEY_LANGUAGE, KEY_MAX_HEIGHT, KEY_MAX_WIDTH, KEY_MEDIA, KEY_PIXEL_TO_MM, KEY_PIXEL_UNIT_TO_MILLIMETER, KEY_SNAPSHOT_TIME, KEY_USER_STYLESHEET_URI, KEY_WIDTH, root, userAgent, width
KEY_DOCUMENT_ELEMENT, KEY_DOCUMENT_ELEMENT_NAMESPACE_URI, KEY_DOM_IMPLEMENTATION, KEY_XML_PARSER_CLASSNAME, KEY_XML_PARSER_VALIDATING
handler, hints
Constructor and Description |
---|
ThumbnailTranscoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createImage(int width,
int height) |
BufferedImage |
getLastImage()
Get the latest image produced.
|
void |
writeImage(BufferedImage img,
TranscoderOutput output)
Output will be ignored!
|
createRenderer, forceTransparentWhite, transcode
createBridgeContext, createBridgeContext, createBridgeContext, createDocumentFactory, createUserAgent, getCanvasGraphicsNode, setImageSize, transcode
addTranscodingHint, getErrorHandler, getTranscodingHints, removeTranscodingHint, setErrorHandler, setTranscodingHints, setTranscodingHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTranscodingHint, getErrorHandler, getTranscodingHints, removeTranscodingHint, setErrorHandler, setTranscodingHints, setTranscodingHints
private BufferedImage lastimg
public BufferedImage createImage(int width, int height)
createImage
in class ImageTranscoder
public void writeImage(BufferedImage img, TranscoderOutput output) throws TranscoderException
writeImage
in class ImageTranscoder
TranscoderException
public BufferedImage getLastImage()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.