public class HCompressorOption extends Object implements ICompressOption
Constructor and Description |
---|
HCompressorOption() |
Modifier and Type | Method and Description |
---|---|
HCompressorOption |
copy() |
ICompressParameters |
getCompressionParameters() |
int |
getScale() |
int |
getTileHeight() |
int |
getTileWidth() |
boolean |
isLossyCompression() |
boolean |
isSmooth() |
void |
setParameters(ICompressParameters parameters)
set the parameters that must be synchronized with the hdu meta data.
|
HCompressorOption |
setScale(int value) |
HCompressorOption |
setSmooth(boolean value) |
HCompressorOption |
setTileHeight(int value)
set the tile height in pixel.
|
HCompressorOption |
setTileWidth(int value)
set the tile width.
|
<T> T |
unwrap(Class<T> clazz)
un wrap a specific implementation detail.
|
public HCompressorOption copy()
copy
in interface ICompressOption
public ICompressParameters getCompressionParameters()
getCompressionParameters
in interface ICompressOption
public int getScale()
public int getTileHeight()
public int getTileWidth()
public boolean isLossyCompression()
isLossyCompression
in interface ICompressOption
public boolean isSmooth()
public void setParameters(ICompressParameters parameters)
ICompressOption
setParameters
in interface ICompressOption
parameters
- the parameters to synchronizedpublic HCompressorOption setScale(int value)
public HCompressorOption setSmooth(boolean value)
public HCompressorOption setTileHeight(int value)
ICompressOption
setTileHeight
in interface ICompressOption
value
- the number of pixel.public HCompressorOption setTileWidth(int value)
ICompressOption
setTileWidth
in interface ICompressOption
value
- the number of pixel.public <T> T unwrap(Class<T> clazz)
ICompressOption
unwrap
in interface ICompressOption
T
- the class to unrwapclazz
- the type to unwrapCopyright © 1996–2016 nom-tam-fits. All rights reserved.