public class ThumbnailTranscoder
extends org.apache.batik.transcoder.image.ImageTranscoder
Modifier and Type | Field and Description |
---|---|
private java.awt.image.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 |
---|---|
java.awt.image.BufferedImage |
createImage(int width,
int height) |
java.awt.image.BufferedImage |
getLastImage()
Get the latest image produced.
|
void |
writeImage(java.awt.image.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
public java.awt.image.BufferedImage createImage(int width, int height)
createImage
in class org.apache.batik.transcoder.image.ImageTranscoder
public void writeImage(java.awt.image.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 java.awt.image.BufferedImage getLastImage()
Copyright © 2019 ELKI Development Team. License information.