public class JPEGOutputDevice extends ImageOutputDevice
Modifier and Type | Class and Description |
---|---|
static class |
JPEGOutputDevice.JPEGType
This enum determines the type of JPEG that is generated.
|
Constructor and Description |
---|
JPEGOutputDevice() |
Modifier and Type | Method and Description |
---|---|
protected String |
getGhostscriptOutputDeviceName() |
String |
getOutputMimeType() |
int |
getQuality() |
JPEGOutputDevice.JPEGType |
getType() |
void |
setQuality(int quality)
Set the quality factor to use (integer from 0 to 100, default 75).
|
void |
setType(JPEGOutputDevice.JPEGType type)
Set the type of JPEG to generate.
|
fillOptions, getGraphicsAlphaBits, getTextAlphaBits, getXResolution, getYResolution, setGraphicsAlphaBits, setResolution, setTextAlphaBits, setXResolution, setYResolution
public JPEGOutputDevice.JPEGType getType()
public void setType(JPEGOutputDevice.JPEGType type)
type
- protected String getGhostscriptOutputDeviceName()
getGhostscriptOutputDeviceName
in class OutputDevice
public int getQuality()
setQuality(int)
public void setQuality(int quality)
quality
- the quality factor (must be in range [0…100])public String getOutputMimeType()
getOutputMimeType
in class OutputDevice
Copyright © 2017 levigo holding gmbh. All rights reserved.