aboutsummaryrefslogtreecommitdiff
path: root/java/org/libjpegturbo/turbojpeg/TJ.java
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2013-08-23 06:38:59 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2013-08-23 06:38:59 +0000
commitb3c2d14a7e17ac4a92870cedcd9ad75f1f679142 (patch)
tree50b20c1e68e232a59f72dcab87f4f8025e6b46a1 /java/org/libjpegturbo/turbojpeg/TJ.java
parent4870652086e6bacc5ac4ace3cd49c945707495f3 (diff)
Wordsmithing
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1021 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'java/org/libjpegturbo/turbojpeg/TJ.java')
-rw-r--r--java/org/libjpegturbo/turbojpeg/TJ.java25
1 files changed, 13 insertions, 12 deletions
diff --git a/java/org/libjpegturbo/turbojpeg/TJ.java b/java/org/libjpegturbo/turbojpeg/TJ.java
index b3ca4b8..9fe3058 100644
--- a/java/org/libjpegturbo/turbojpeg/TJ.java
+++ b/java/org/libjpegturbo/turbojpeg/TJ.java
@@ -192,18 +192,19 @@ public final class TJ {
*/
public static final int PF_ARGB = 10;
/**
- * CMYK pixel format. Unlike RGB, which is a display colorspace,
- * CMYK (Cyan/Magenta/Yellow/Key) is a print colorspace in which the
- * value of each color component corresponds to the amount of cyan, magenta,
- * yellow, or black ink that is applied to a white background. In order to
- * convert between CMYK and RGB, it is necessary to use a color management
- * system (CMS.) A CMS will attempt to map colors within the printer's gamut
- * to perceptually similar colors in the display's gamut and vice versa, but
- * the mapping is typically not 1:1 or reversible, nor can it be defined with
- * a simple formula. Thus, such a conversion is out of scope for a codec
- * library. However, the TurboJPEG API allows for compressing CMYK pixels
- * into a YCCK JPEG image (see {@link #CS_YCCK}) and decompressing YCCK JPEG
- * images into CMYK pixels.
+ * CMYK pixel format. Unlike RGB, which is an additive color model used
+ * primarily for display, CMYK (Cyan/Magenta/Yellow/Key) is a subtractive
+ * color model used primarily for printing. In the CMYK color model, the
+ * value of each color component typically corresponds to an amount of cyan,
+ * magenta, yellow, or black ink that is applied to a white background. In
+ * order to convert between CMYK and RGB, it is necessary to use a color
+ * management system (CMS.) A CMS will attempt to map colors within the
+ * printer's gamut to perceptually similar colors in the display's gamut and
+ * vice versa, but the mapping is typically not 1:1 or reversible, nor can it
+ * be defined with a simple formula. Thus, such a conversion is out of scope
+ * for a codec library. However, the TurboJPEG API allows for compressing
+ * CMYK pixels into a YCCK JPEG image (see {@link #CS_YCCK}) and
+ * decompressing YCCK JPEG images into CMYK pixels.
*/
public static final int PF_CMYK = 11;