Class GeoToolsWriteParams
- Object
-
- IIOParam
-
- ImageWriteParam
-
- GeoToolsWriteParams
-
- Direct Known Subclasses:
ArcGridWriteParams
,GeoTiffWriteParams
public abstract class GeoToolsWriteParams extends ImageWriteParam
- Since:
- 2.3.x
- Author:
- Simone Giannecchini
-
-
Field Summary
Fields Modifier and Type Field Description protected ImageWriteParam
adaptee
-
Fields inherited from class ImageWriteParam
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, tilingSet
-
Fields inherited from class IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
-
-
Constructor Summary
Constructors Constructor Description GeoToolsWriteParams(ImageWriteParam adaptee)
GeoToolsWriteParams(ImageWriteParam adaptee, Locale locale)
-
Method Summary
-
Methods inherited from class ImageWriteParam
setTiling
-
-
-
-
Field Detail
-
adaptee
protected ImageWriteParam adaptee
-
-
Constructor Detail
-
GeoToolsWriteParams
public GeoToolsWriteParams(ImageWriteParam adaptee)
-
GeoToolsWriteParams
public GeoToolsWriteParams(ImageWriteParam adaptee, Locale locale)
- Parameters:
locale
-
-
-
Method Detail
-
canWriteCompressed
public boolean canWriteCompressed()
- Overrides:
canWriteCompressed
in classImageWriteParam
-
canWriteProgressive
public boolean canWriteProgressive()
- Overrides:
canWriteProgressive
in classImageWriteParam
-
canWriteTiles
public boolean canWriteTiles()
- Overrides:
canWriteTiles
in classImageWriteParam
-
getBitRate
public float getBitRate(float quality)
- Overrides:
getBitRate
in classImageWriteParam
-
getCompressionMode
public int getCompressionMode()
- Overrides:
getCompressionMode
in classImageWriteParam
-
getCompressionQuality
public float getCompressionQuality()
- Overrides:
getCompressionQuality
in classImageWriteParam
-
getCompressionQualityDescriptions
public String[] getCompressionQualityDescriptions()
- Overrides:
getCompressionQualityDescriptions
in classImageWriteParam
-
getCompressionQualityValues
public float[] getCompressionQualityValues()
- Overrides:
getCompressionQualityValues
in classImageWriteParam
-
getCompressionType
public String getCompressionType()
- Overrides:
getCompressionType
in classImageWriteParam
-
getCompressionTypes
public String[] getCompressionTypes()
- Overrides:
getCompressionTypes
in classImageWriteParam
-
getLocalizedCompressionTypeName
public String getLocalizedCompressionTypeName()
- Overrides:
getLocalizedCompressionTypeName
in classImageWriteParam
-
getPreferredTileSizes
public Dimension[] getPreferredTileSizes()
- Overrides:
getPreferredTileSizes
in classImageWriteParam
-
getProgressiveMode
public int getProgressiveMode()
- Overrides:
getProgressiveMode
in classImageWriteParam
-
getTileHeight
public int getTileHeight()
- Overrides:
getTileHeight
in classImageWriteParam
-
getTileWidth
public int getTileWidth()
- Overrides:
getTileWidth
in classImageWriteParam
-
getTilingMode
public int getTilingMode()
- Overrides:
getTilingMode
in classImageWriteParam
-
isCompressionLossless
public boolean isCompressionLossless()
- Overrides:
isCompressionLossless
in classImageWriteParam
-
setCompressionMode
public void setCompressionMode(int mode)
- Overrides:
setCompressionMode
in classImageWriteParam
-
setCompressionQuality
public void setCompressionQuality(float quality)
- Overrides:
setCompressionQuality
in classImageWriteParam
-
setCompressionType
public void setCompressionType(String compressionType)
- Overrides:
setCompressionType
in classImageWriteParam
-
setProgressiveMode
public void setProgressiveMode(int mode)
- Overrides:
setProgressiveMode
in classImageWriteParam
-
setTiling
public void setTiling(int tileWidth, int tileHeight)
-
setTilingMode
public void setTilingMode(int mode)
- Overrides:
setTilingMode
in classImageWriteParam
-
unsetCompression
public void unsetCompression()
- Overrides:
unsetCompression
in classImageWriteParam
-
unsetTiling
public void unsetTiling()
- Overrides:
unsetTiling
in classImageWriteParam
-
setDestinationType
public void setDestinationType(ImageTypeSpecifier destinationType)
- Overrides:
setDestinationType
in classIIOParam
-
canOffsetTiles
public boolean canOffsetTiles()
- Overrides:
canOffsetTiles
in classImageWriteParam
-
getLocale
public Locale getLocale()
- Overrides:
getLocale
in classImageWriteParam
-
getTileGridXOffset
public int getTileGridXOffset()
- Overrides:
getTileGridXOffset
in classImageWriteParam
-
getTileGridYOffset
public int getTileGridYOffset()
- Overrides:
getTileGridYOffset
in classImageWriteParam
-
activateController
public boolean activateController()
- Overrides:
activateController
in classIIOParam
-
getController
public IIOParamController getController()
- Overrides:
getController
in classIIOParam
-
getDefaultController
public IIOParamController getDefaultController()
- Overrides:
getDefaultController
in classIIOParam
-
getDestinationOffset
public Point getDestinationOffset()
- Overrides:
getDestinationOffset
in classIIOParam
-
getDestinationType
public ImageTypeSpecifier getDestinationType()
- Overrides:
getDestinationType
in classIIOParam
-
getSourceBands
public int[] getSourceBands()
- Overrides:
getSourceBands
in classIIOParam
-
getSourceRegion
public Rectangle getSourceRegion()
- Overrides:
getSourceRegion
in classIIOParam
-
getSourceXSubsampling
public int getSourceXSubsampling()
- Overrides:
getSourceXSubsampling
in classIIOParam
-
getSourceYSubsampling
public int getSourceYSubsampling()
- Overrides:
getSourceYSubsampling
in classIIOParam
-
getSubsamplingXOffset
public int getSubsamplingXOffset()
- Overrides:
getSubsamplingXOffset
in classIIOParam
-
getSubsamplingYOffset
public int getSubsamplingYOffset()
- Overrides:
getSubsamplingYOffset
in classIIOParam
-
hasController
public boolean hasController()
- Overrides:
hasController
in classIIOParam
-
setController
public void setController(IIOParamController controller)
- Overrides:
setController
in classIIOParam
-
setDestinationOffset
public void setDestinationOffset(Point destinationOffset)
- Overrides:
setDestinationOffset
in classIIOParam
-
setSourceBands
public void setSourceBands(int[] sourceBands)
- Overrides:
setSourceBands
in classIIOParam
-
setSourceRegion
public void setSourceRegion(Rectangle sourceRegion)
- Overrides:
setSourceRegion
in classIIOParam
-
setSourceSubsampling
public void setSourceSubsampling(int sourceXSubsampling, int sourceYSubsampling, int subsamplingXOffset, int subsamplingYOffset)
- Overrides:
setSourceSubsampling
in classIIOParam
-
getAdaptee
public final ImageWriteParam getAdaptee()
-
-