public class ThumbnailTranscoder
extends org.apache.batik.transcoder.image.ImageTranscoder
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
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,
org.apache.batik.transcoder.TranscoderOutput output)
Output will be ignored!
|
createRenderer, forceTransparentWhite, transcode
createBridgeContext, createBridgeContext, createBridgeContext, createDocumentFactory, createUserAgent, getCanvasGraphicsNode, setImageSize, transcode
addTranscodingHint, getErrorHandler, getTranscodingHints, removeTranscodingHint, setErrorHandler, setTranscodingHints, setTranscodingHints
private BufferedImage lastimg
public BufferedImage createImage(int width, int height)
createImage
in class org.apache.batik.transcoder.image.ImageTranscoder
public void writeImage(BufferedImage img, org.apache.batik.transcoder.TranscoderOutput output) throws org.apache.batik.transcoder.TranscoderException
writeImage
in class org.apache.batik.transcoder.image.ImageTranscoder
org.apache.batik.transcoder.TranscoderException
public BufferedImage getLastImage()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.