public class ColorValueConverter
extends java.lang.Object
| Constructor and Description |
|---|
ColorValueConverter()
This class contains methods used to convert sets of values from one Colorspace to another.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
convertValues(ColorProfile sourceColorProfile,
ColorProfile destinationColorProfile,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
|
byte[] |
convertValues(ColorProfile sourceColorProfile,
java.lang.String destinationColorProfilePath,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
|
byte[] |
convertValues(java.lang.String sourceColorProfilePath,
ColorProfile destinationColorProfile,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
|
byte[] |
convertValues(java.lang.String sourceColorProfilePath,
java.lang.String destinationColorProfilePath,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
Converts sets of values from a Source ColorSpace to a Destination colorspace using a specified Render Intent.
|
void |
delete() |
public ColorValueConverter()
public void delete()
public byte[] convertValues(ColorProfile sourceColorProfile, ColorProfile destinationColorProfile, RenderIntent intent, long numberOfInputValueSets, byte[] inputValueSets)
sourceColorProfile - The Color Profile to be used for input values.destinationColorProfile - The Color Profile to be used for output values.intent - The Render Intent used during the conversion.numberOfInputValueSets - The number of sets of input values to be converted.inputValueSets - The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.public byte[] convertValues(java.lang.String sourceColorProfilePath,
ColorProfile destinationColorProfile,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
sourceColorProfilePath - The Color Profile to be used for input values, loaded from a path on disk.destinationColorProfile - The Color Profile to be used for output values.intent - The Render Intent used during the conversion.numberOfInputValueSets - The number of sets of input values to be converted.inputValueSets - The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.public byte[] convertValues(ColorProfile sourceColorProfile, java.lang.String destinationColorProfilePath, RenderIntent intent, long numberOfInputValueSets, byte[] inputValueSets)
sourceColorProfile - The Color Profile to be used for input values.destinationColorProfilePath - The Color Profile to be used for output values, loaded from a path on disk.intent - The Render Intent used during the conversion.numberOfInputValueSets - The number of sets of input values to be converted.inputValueSets - The input values to be converted which are divided into sets, e.g., <255 140 0 0 120 0 60 0> would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.public byte[] convertValues(java.lang.String sourceColorProfilePath,
java.lang.String destinationColorProfilePath,
RenderIntent intent,
long numberOfInputValueSets,
byte[] inputValueSets)
sourceColorProfilePath - The Color Profile to be used for input values, loaded from a path on disk.destinationColorProfilePath - The Color Profile to be used for output values, loaded from a path on disk.intent - The Render Intent used during the conversion.numberOfInputValueSets - The number of sets of input values to be converted.inputValueSets - The input values to be converted which are divided into sets, e.g. < 255 140 0 0 120 0 60 0 > would represent 2 sets of CMYK colors: [255 140 0 0] and [120 0 60 0] and numberOfInputValueSets should be 2.