Class GrayScaleConversion
java.lang.Object
com.elpical.jclaro.admin.ws.server.GrayScaleConversion
Class holds settings concerning grayscale conversions/settings and dotgain conversion
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorGrayScaleConversion(HashMap<String,String> theClaroChannelPreferences)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the general dotgain table.Returns the file name suffix for grayscale imagesReturns the blue dotgain table.Returns the bw dotgain table.Returns the green dotgain table.Returns the red dotgain table.boolean
isApply()
Returns whether to convert to black/whiteboolean
Whether to use the dotgain tablesboolean
Whether to apply the blue dotgainboolean
Whether to apply the grayscale dotgainboolean
Whether to apply the green dotgainboolean
Whether to apply the red dotgainboolean
Returns whether to convert to grayscale using a mix of the colorsboolean
Whether to use the filename suffix for grayscale imagesboolean
Returns whether to convert to grayscale using an ICC profilevoid
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
void
setApply(boolean apply)
Sets whether to convert to grayscalevoid
setDotGainApply(boolean dotGainApply)
Sets whether to use the dotgain tablesvoid
setDotGainTable(String dotGainTable)
Sets the general dotgain table.void
setFileNameSuffix(String fileNameSuffix)
Sets the file name suffix for grayscale imagesvoid
setGain_B_Apply(boolean gain_B_Apply)
Set whether to apply the blue dotgainvoid
setGain_B_Table(String gain_B_Table)
Sets the blue dotgain table.void
setGain_BW_Apply(boolean gain_BW_Apply)
Set whether to apply the grayscale dotgainvoid
setGain_BW_Table(String gain_BW_Table)
Sets the bw dotgain table.void
setGain_G_Apply(boolean gain_G_Apply)
Set whether to apply the green dotgainvoid
setGain_G_Table(String gain_G_Table)
Sets the green dotgain table.void
setGain_R_Apply(boolean gain_R_Apply)
Set whether to apply the red dotgainvoid
setGain_R_Table(String gain_R_Table)
Sets the red dotgain table.void
setUseAMixOfColors(boolean useAMixOfColors)
Sets whether to convert to grayscale using a mix of the colorsvoid
setUseFileNameSuffix(boolean useFileNameSuffix)
Set whether to use the filename suffix for grayscale imagesvoid
setUseICCProfile(boolean useICCProfile)
Sets whether to convert to grayscale using an ICC profile
-
Constructor Details
-
GrayScaleConversion
public GrayScaleConversion()Empty constructor -
GrayScaleConversion
-
-
Method Details
-
isApply
public boolean isApply()Returns whether to convert to black/white- Returns:
- Whether to convert to black/white
-
setApply
public void setApply(boolean apply)Sets whether to convert to grayscale- Parameters:
apply
- Whether to convert to grayscale
-
isUseICCProfile
public boolean isUseICCProfile()Returns whether to convert to grayscale using an ICC profile- Returns:
- Whether to convert to grayscale using an ICC profile
-
setUseICCProfile
public void setUseICCProfile(boolean useICCProfile)Sets whether to convert to grayscale using an ICC profile- Parameters:
useICCProfile
- Whether to convert to grayscale using an ICC profile
-
isUseAMixOfColors
public boolean isUseAMixOfColors()Returns whether to convert to grayscale using a mix of the colors- Returns:
- Whether to convert to grayscale using a mix of the colors
-
setUseAMixOfColors
public void setUseAMixOfColors(boolean useAMixOfColors)Sets whether to convert to grayscale using a mix of the colors- Parameters:
useAMixOfColors
- Whether to convert to grayscale using a mix of the colors
-
getFileNameSuffix
Returns the file name suffix for grayscale images- Returns:
- The file name suffix for grayscale images
-
setFileNameSuffix
Sets the file name suffix for grayscale images- Parameters:
fileNameSuffix
- The file name suffix for grayscale images
-
isDotGainApply
public boolean isDotGainApply()Whether to use the dotgain tables- Returns:
- Whether to use the dotgain tables
-
setDotGainApply
public void setDotGainApply(boolean dotGainApply)Sets whether to use the dotgain tables- Parameters:
dotGainApply
- Whether to use the dotgain tables
-
getDotGainTable
Returns the general dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function.- Returns:
- A string containing the values as described in the description
-
setDotGainTable
Sets the general dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function.- Parameters:
dotGainTable
- A string containing the values as described in the description
-
getGain_R_Table
Returns the red dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
setGain_R_Table
Sets the red dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
getGain_G_Table
Returns the green dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
setGain_G_Table
Sets the green dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
getGain_B_Table
Returns the blue dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
setGain_B_Table
Sets the blue dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
isGain_BW_Apply
public boolean isGain_BW_Apply()Whether to apply the grayscale dotgain- Returns:
- Whether to apply the grayscale dotgain
-
setGain_BW_Apply
public void setGain_BW_Apply(boolean gain_BW_Apply)Set whether to apply the grayscale dotgain- Parameters:
gain_BW_Apply
- Whether to apply the grayscale dotgain
-
getGain_BW_Table
Returns the bw dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
setGain_BW_Table
Sets the bw dotgain table. The String starts with the minimum value, then a list of all integer values, the maximum value and ends with the string black2white separated by spaces. The values are interpolated using a spline function. -
isGain_R_Apply
public boolean isGain_R_Apply()Whether to apply the red dotgain- Returns:
- Whether to apply the red dotgain
-
setGain_R_Apply
public void setGain_R_Apply(boolean gain_R_Apply)Set whether to apply the red dotgain -
isGain_G_Apply
public boolean isGain_G_Apply()Whether to apply the green dotgain- Returns:
- Whether to apply the green dotgain
-
setGain_G_Apply
public void setGain_G_Apply(boolean gain_G_Apply)Set whether to apply the green dotgain- Parameters:
gain_G_Apply
- Whether to apply the green dotgain
-
isGain_B_Apply
public boolean isGain_B_Apply()Whether to apply the blue dotgain- Returns:
- Whether to apply the blue dotgain
-
setGain_B_Apply
public void setGain_B_Apply(boolean gain_B_Apply)Set whether to apply the blue dotgain- Parameters:
gain_B_Apply
- Whether to apply the blue dotgain
-
isUseFileNameSuffix
public boolean isUseFileNameSuffix()Whether to use the filename suffix for grayscale images- Returns:
- Whether to use the filename suffix for grayscale images
-
setUseFileNameSuffix
public void setUseFileNameSuffix(boolean useFileNameSuffix)Set whether to use the filename suffix for grayscale images- Parameters:
useFileNameSuffix
- Whether to use the filename suffix for grayscale images
-
save
public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
-