Class PNMOutputDevice
- java.lang.Object
-
- com.levigo.jadice.server.ghostscript.OutputDevice
-
- com.levigo.jadice.server.ghostscript.ImageOutputDevice
-
- com.levigo.jadice.server.ghostscript.PNMOutputDevice
-
- All Implemented Interfaces:
Serializable
public class PNMOutputDevice extends ImageOutputDevice
AnOutputDevice
generating PNM raster images. The PNM (portable network map) family of formats are very simple uncompressed image formats commonly used on unix-like systems. They are particularly useful for testing or as input to an external conversion utility.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PNMOutputDevice.PNMType
This enum determines the type of PNM that is generated.
-
Constructor Summary
Constructors Constructor Description PNMOutputDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getGhostscriptOutputDeviceName()
String
getOutputMimeType()
PNMOutputDevice.PNMType
getType()
void
setType(PNMOutputDevice.PNMType type)
Set the type of PNM to generate.-
Methods inherited from class com.levigo.jadice.server.ghostscript.ImageOutputDevice
fillOptions, getGraphicsAlphaBits, getTextAlphaBits, getXResolution, getYResolution, setGraphicsAlphaBits, setResolution, setTextAlphaBits, setXResolution, setYResolution
-
-
-
-
Method Detail
-
getType
public PNMOutputDevice.PNMType getType()
- Returns:
- the type of PNM to generate.
-
setType
public void setType(PNMOutputDevice.PNMType type)
Set the type of PNM to generate.- Parameters:
type
- thetype of PNM to generate
-
getGhostscriptOutputDeviceName
protected String getGhostscriptOutputDeviceName()
- Specified by:
getGhostscriptOutputDeviceName
in classOutputDevice
-
getOutputMimeType
public String getOutputMimeType()
- Specified by:
getOutputMimeType
in classOutputDevice
-
-