public abstract class GeoToolsWriteParams extends ImageWriteParam
Modifier and Type | Field and Description |
---|---|
protected ImageWriteParam |
adaptee |
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
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
Constructor and Description |
---|
GeoToolsWriteParams(ImageWriteParam adaptee) |
GeoToolsWriteParams(ImageWriteParam adaptee,
Locale locale) |
setTiling
protected ImageWriteParam adaptee
public GeoToolsWriteParams(ImageWriteParam adaptee)
public GeoToolsWriteParams(ImageWriteParam adaptee, Locale locale)
locale
- public boolean canWriteCompressed()
canWriteCompressed
in class ImageWriteParam
public boolean canWriteProgressive()
canWriteProgressive
in class ImageWriteParam
public boolean canWriteTiles()
canWriteTiles
in class ImageWriteParam
public float getBitRate(float quality)
getBitRate
in class ImageWriteParam
public int getCompressionMode()
getCompressionMode
in class ImageWriteParam
public float getCompressionQuality()
getCompressionQuality
in class ImageWriteParam
public String[] getCompressionQualityDescriptions()
getCompressionQualityDescriptions
in class ImageWriteParam
public float[] getCompressionQualityValues()
getCompressionQualityValues
in class ImageWriteParam
public String getCompressionType()
getCompressionType
in class ImageWriteParam
public String[] getCompressionTypes()
getCompressionTypes
in class ImageWriteParam
public String getLocalizedCompressionTypeName()
getLocalizedCompressionTypeName
in class ImageWriteParam
public Dimension[] getPreferredTileSizes()
getPreferredTileSizes
in class ImageWriteParam
public int getProgressiveMode()
getProgressiveMode
in class ImageWriteParam
public int getTileHeight()
getTileHeight
in class ImageWriteParam
public int getTileWidth()
getTileWidth
in class ImageWriteParam
public int getTilingMode()
getTilingMode
in class ImageWriteParam
public boolean isCompressionLossless()
isCompressionLossless
in class ImageWriteParam
public void setCompressionMode(int mode)
setCompressionMode
in class ImageWriteParam
public void setCompressionQuality(float quality)
setCompressionQuality
in class ImageWriteParam
public void setCompressionType(String compressionType)
setCompressionType
in class ImageWriteParam
public void setProgressiveMode(int mode)
setProgressiveMode
in class ImageWriteParam
public void setTiling(int tileWidth, int tileHeight)
public void setTilingMode(int mode)
setTilingMode
in class ImageWriteParam
public void unsetCompression()
unsetCompression
in class ImageWriteParam
public void unsetTiling()
unsetTiling
in class ImageWriteParam
public void setDestinationType(ImageTypeSpecifier destinationType)
setDestinationType
in class IIOParam
public boolean canOffsetTiles()
canOffsetTiles
in class ImageWriteParam
public Locale getLocale()
getLocale
in class ImageWriteParam
public int getTileGridXOffset()
getTileGridXOffset
in class ImageWriteParam
public int getTileGridYOffset()
getTileGridYOffset
in class ImageWriteParam
public boolean activateController()
activateController
in class IIOParam
public IIOParamController getController()
getController
in class IIOParam
public IIOParamController getDefaultController()
getDefaultController
in class IIOParam
public Point getDestinationOffset()
getDestinationOffset
in class IIOParam
public ImageTypeSpecifier getDestinationType()
getDestinationType
in class IIOParam
public int[] getSourceBands()
getSourceBands
in class IIOParam
public Rectangle getSourceRegion()
getSourceRegion
in class IIOParam
public int getSourceXSubsampling()
getSourceXSubsampling
in class IIOParam
public int getSourceYSubsampling()
getSourceYSubsampling
in class IIOParam
public int getSubsamplingXOffset()
getSubsamplingXOffset
in class IIOParam
public int getSubsamplingYOffset()
getSubsamplingYOffset
in class IIOParam
public boolean hasController()
hasController
in class IIOParam
public void setController(IIOParamController controller)
setController
in class IIOParam
public void setDestinationOffset(Point destinationOffset)
setDestinationOffset
in class IIOParam
public void setSourceBands(int[] sourceBands)
setSourceBands
in class IIOParam
public void setSourceRegion(Rectangle sourceRegion)
setSourceRegion
in class IIOParam
public void setSourceSubsampling(int sourceXSubsampling, int sourceYSubsampling, int subsamplingXOffset, int subsamplingYOffset)
setSourceSubsampling
in class IIOParam
public final ImageWriteParam getAdaptee()
Copyright © 1996–2019 Geotools. All rights reserved.