Package com.idrsolutions.image.filter
Class CCITTFilterOptions
java.lang.Object
com.idrsolutions.image.filter.CCITTFilterOptions
- All Implemented Interfaces:
FilterOptions
Class handles the options available for CCITT compression
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.idrsolutions.image.filter.FilterOptions
FilterOptions.FilterMode
-
Constructor Summary
ConstructorsConstructorDescriptionCCITTFilterOptions
(int width, int height) CCITTFilterOptions
(int width, int height, int columns, int k, boolean blackIs1, boolean encodedByteAlign, boolean endOfLine, int fillOrder) -
Method Summary
-
Constructor Details
-
CCITTFilterOptions
public CCITTFilterOptions(int width, int height, int columns, int k, boolean blackIs1, boolean encodedByteAlign, boolean endOfLine, int fillOrder) -
CCITTFilterOptions
public CCITTFilterOptions(int width, int height)
-
-
Method Details
-
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
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
isByteAligned
public boolean isByteAligned() -
isEOL
public boolean isEOL() -
isBlack1
public boolean isBlack1() -
getColumns
public int getColumns() -
getEncoding
public int getEncoding() -
getFillOrder
public int getFillOrder()
-