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.
| Modifier and Type | Field and Description | 
|---|---|
| private boolean | raw | 
canOffsetTiles, canWriteCompressed, canWriteProgressive, canWriteTiles, compressionMode, compressionQuality, compressionType, compressionTypes, locale, MODE_COPY_FROM_METADATA, MODE_DEFAULT, MODE_DISABLED, MODE_EXPLICIT, preferredTileSizes, progressiveMode, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, tilingMode, tilingSetcontroller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset| Constructor and Description | 
|---|
| PNMImageWriteParam()Constructs a  PNMImageWriteParamobject with default values
 for parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | getRaw()Returns the value of the  rawparameter. | 
| void | setRaw(boolean raw)Sets the representation to be used. | 
canOffsetTiles, canWriteCompressed, canWriteProgressive, canWriteTiles, getBitRate, getCompressionMode, getCompressionQuality, getCompressionQualityDescriptions, getCompressionQualityValues, getCompressionType, getCompressionTypes, getLocale, getLocalizedCompressionTypeName, getPreferredTileSizes, getProgressiveMode, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTilingMode, isCompressionLossless, setCompressionMode, setCompressionQuality, setCompressionType, setProgressiveMode, setTiling, setTilingMode, unsetCompression, unsetTilingactivateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setDestinationType, setSourceBands, setSourceRegion, setSourceSubsamplingpublic PNMImageWriteParam()
PNMImageWriteParam object with default values
 for parameters.public void setRaw(boolean raw)
raw
 parameter is true, the raw representation will be used;
 otherwise the ASCII representation will be used.raw - true if raw format is to be used.getRaw()public boolean getRaw()
raw parameter.  The default
 value is true.setRaw(boolean)Copyright © 2017 Open Microscopy Environment