Class TIFFOutputDevice
- java.lang.Object
-
- com.levigo.jadice.server.ghostscript.OutputDevice
-
- com.levigo.jadice.server.ghostscript.ImageOutputDevice
-
- com.levigo.jadice.server.ghostscript.TIFFOutputDevice
-
- All Implemented Interfaces:
Serializable
public class TIFFOutputDevice extends ImageOutputDevice
AnOutputDevice
generating TIFF raster images. TIFF is a loose collection of formats, now largely superceded by PNG except in applications where backward compatibility or special compression is required. The TIFF file format is described in the TIFF 6.0 Specification published by Adobe Systems Incorporated.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TIFFOutputDevice.TIFFType
This enum determines the type of TIFF that is generated.
-
Constructor Summary
Constructors Constructor Description TIFFOutputDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getGhostscriptOutputDeviceName()
int
getMaxStripSize()
String
getOutputMimeType()
TIFFOutputDevice.TIFFType
getType()
void
setMaxStripSize(int maxStripSize)
Set the maximum (uncompressed) size of a strip.void
setType(TIFFOutputDevice.TIFFType type)
Set the type of TIFF 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 TIFFOutputDevice.TIFFType getType()
- Returns:
- the type of TIFF to generate.
-
setType
public void setType(TIFFOutputDevice.TIFFType type)
Set the type of TIFF to generate.- Parameters:
type
- thetype of TIFF
to generate
-
getGhostscriptOutputDeviceName
protected String getGhostscriptOutputDeviceName()
- Specified by:
getGhostscriptOutputDeviceName
in classOutputDevice
-
getMaxStripSize
public int getMaxStripSize()
- Returns:
- the maximum (uncompressed) size of a strip.
-
setMaxStripSize
public void setMaxStripSize(int maxStripSize)
Set the maximum (uncompressed) size of a strip.- Parameters:
maxStripSize
- maximum (uncompressed) size of a strip.
-
getOutputMimeType
public String getOutputMimeType()
- Specified by:
getOutputMimeType
in classOutputDevice
-
-