protected class SVGRenderingAccuracyTest.InternalPNGTranscoder extends PNGTranscoder
PNGTranscoder.WriteAdapter
SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent
DEFAULT_CHROMA, KEY_GAMMA, KEY_INDEXED
KEY_BACKGROUND_COLOR, KEY_FORCE_TRANSPARENT_WHITE
builder, ctx, curAOI, curTxf, DEFAULT_ALLOWED_SCRIPT_TYPES, DEFAULT_DEFAULT_FONT_FAMILY, height, KEY_ALLOW_EXTERNAL_RESOURCES, 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
Modifier | Constructor and Description |
---|---|
protected |
InternalPNGTranscoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
transcode(Document document,
String uri,
TranscoderOutput output)
Transcodes the specified Document as an image in the specified output.
|
createImage, getUserAgent, writeImage
createRenderer, forceTransparentWhite
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
protected void transcode(Document document, String uri, TranscoderOutput output) throws TranscoderException
transcode
in class ImageTranscoder
document
- the document to transcodeuri
- the uri of the document or null if anyoutput
- the ouput where to transcodeTranscoderException
- if an error occured while transcodingCopyright © 2000–2023 Apache Software Foundation. All rights reserved.