Package com.idrsolutions.image.filter
Class DCTFilterOptions
java.lang.Object
com.idrsolutions.image.filter.DCTFilterOptions
- All Implemented Interfaces:
FilterOptions
Class handles the options available for DCT compression
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.idrsolutions.image.filter.FilterOptions
FilterOptions.FilterMode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
returns the color transformget the filter these options refer togetMode()
get the mode of the filter: Decompress or Compressvoid
Set the mode of the filter: Decompress or Compress
-
Constructor Details
-
DCTFilterOptions
public DCTFilterOptions(int colorTransform) -
DCTFilterOptions
public DCTFilterOptions()
-
-
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
-
getColorTransform
public int getColorTransform()returns the color transform- Returns:
- int
-