Package com.idrsolutions.image.filter
Class LZWFilterOptions
java.lang.Object
com.idrsolutions.image.filter.LZWFilterOptions
- All Implemented Interfaces:
FilterOptions
Class handles the options available for LZW compression
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.idrsolutions.image.filter.FilterOptions
FilterOptions.FilterMode
-
Constructor Summary
ConstructorsConstructorDescriptionLZWFilterOptions
(int bitsPerComponent, int colors, int columns, int earlyChange, int predictor, int rows) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
get the filter these options refer togetMode()
get the mode of the filter: Decompress or Compressint
int
getRows()
void
setBitsPerComponent
(int bitsPerComponent) void
setColors
(int colors) void
setColumns
(int columns) void
setEarlyChange
(int earlyChange) void
Set the mode of the filter: Decompress or Compressvoid
setPredictor
(int predictor) void
setRows
(int rows)
-
Constructor Details
-
LZWFilterOptions
public LZWFilterOptions(int bitsPerComponent, int colors, int columns, int earlyChange, int predictor, int rows) -
LZWFilterOptions
public LZWFilterOptions()
-
-
Method Details
-
setBitsPerComponent
public void setBitsPerComponent(int bitsPerComponent) -
getBitsPerComponent
public int getBitsPerComponent() -
getColors
public int getColors() -
setColors
public void setColors(int colors) -
getColumns
public int getColumns() -
setColumns
public void setColumns(int columns) -
getPredictor
public int getPredictor() -
setPredictor
public void setPredictor(int predictor) -
getMode
Description copied from interface:FilterOptions
get the mode of the filter: Decompress or Compressinherited by several classes
- Specified by:
getMode
in interfaceFilterOptions
- Returns:
- FilterMode
-
setMode
Description copied from interface:FilterOptions
Set the mode of the filter: Decompress or Compressinherited by several classes
- Specified by:
setMode
in interfaceFilterOptions
- Parameters:
mode
- FilterMode
-
getFilter
Description copied from interface:FilterOptions
get the filter these options refer toinherited by several classes
- Specified by:
getFilter
in interfaceFilterOptions
- Returns:
- Filter
-
getEarlyChange
public int getEarlyChange() -
setEarlyChange
public void setEarlyChange(int earlyChange) -
getRows
public int getRows() -
setRows
public void setRows(int rows)
-