com.sun.media.imageio.plugins.pnm
public class PNMImageWriteParam extends ImageWriteParam
ImageWriteParam
for writing images in
the PNM format.
This class allows for the specification of whether to write in the ASCII or raw variants of the PBM, PGM, and PPM formats; by default, the raw variant is used.
Constructor Summary | |
---|---|
PNMImageWriteParam()
Constructs a PNMImageWriteParam object with default values
for parameters. |
Method Summary | |
---|---|
boolean | getRaw()
Returns the value of the raw parameter. |
void | setRaw(boolean raw)
Sets the representation to be used. |
PNMImageWriteParam
object with default values
for parameters.raw
parameter. The default
value is true
.
Returns: whether the data are written in raw representation.
See Also: PNMImageWriteParam
raw
parameter is true
, the raw representation will be used;
otherwise the ASCII representation will be used.
Parameters: raw true
if raw format is to be used.
See Also: getRaw