|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bioinfweb.treegraph.graphics.export.AbstractGraphicWriter
info.bioinfweb.treegraph.graphics.export.SVGTranscodeWriter
info.bioinfweb.treegraph.graphics.export.jpeg.JPEGWriter
public class JPEGWriter
| Field Summary | |
|---|---|
static float |
DEFAULT_QUALITY
|
static java.lang.String |
KEY_JPEG_QUALITY
|
static float |
MAX_QUALITY
|
static float |
MIN_QUALITY
|
| Fields inherited from interface info.bioinfweb.treegraph.graphics.export.GraphicWriter |
|---|
KEY_DIMENSIONS_IN_PIXELS, KEY_HEIGHT, KEY_PIXELS_PER_MILLIMETER, KEY_TRANSPARENT, KEY_WIDTH |
| Constructor Summary | |
|---|---|
JPEGWriter()
|
|
| Method Summary | |
|---|---|
protected void |
addTranscodingHints(Transcoder transcoder,
GraphicWriterHints writerHints)
This method can be overwritten to add more transcoding hints to the transcoder. |
| Methods inherited from class info.bioinfweb.treegraph.graphics.export.SVGTranscodeWriter |
|---|
write |
| Methods inherited from class info.bioinfweb.treegraph.graphics.export.AbstractGraphicWriter |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.bioinfweb.treegraph.graphics.export.GraphicWriter |
|---|
write, write |
| Field Detail |
|---|
public static final float DEFAULT_QUALITY
public static final float MIN_QUALITY
public static final float MAX_QUALITY
public static final java.lang.String KEY_JPEG_QUALITY
| Constructor Detail |
|---|
public JPEGWriter()
| Method Detail |
|---|
protected void addTranscodingHints(Transcoder transcoder,
GraphicWriterHints writerHints)
SVGTranscodeWriterThis method can be overwritten to add more transcoding hints to the transcoder. This can e.g. be done by copying graphic writer hints to transcoding hints.
Note that KEY_PIXEL_UNIT_TO_MILLIMETER, KEY_WIDTH,
KEY_HEIGHT and KEY_BACKGROUND_COLOR (the brackground color
for formats which do not support transparency) have already been added.
addTranscodingHints in class SVGTranscodeWritertranscoder - - the transcoder that transcodes from SVG to the respective image formatwriterHints - - the hints that were specified when the write-method of this
writer was called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||