summaryrefslogtreecommitdiff
path: root/dmagick/c/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'dmagick/c/profile.d')
-rw-r--r--dmagick/c/profile.d36
1 files changed, 36 insertions, 0 deletions
diff --git a/dmagick/c/profile.d b/dmagick/c/profile.d
index e499a31..645d844 100644
--- a/dmagick/c/profile.d
+++ b/dmagick/c/profile.d
@@ -21,12 +21,48 @@ extern(C)
signature;
}
+ /**
+ * Rendering intent is a concept defined by ICC Spec ICC.1:1998-09,
+ * "File Format for Color Profiles". ImageMagick uses RenderingIntent in
+ * order to support ICC Color Profiles.
+ *
+ * From the specification: "Rendering intent specifies the style of
+ * reproduction to be used during the evaluation of this profile in a
+ * sequence of profiles. It applies specifically to that profile in the
+ * sequence and not to the entire sequence. Typically, the user or
+ * application will set the rendering intent dynamically at runtime or
+ * embedding time."
+ */
enum RenderingIntent
{
+ /**
+ * No intent has been specified.
+ */
UndefinedIntent,
+
+ /**
+ * A rendering intent that specifies the saturation of the pixels in
+ * the image is preserved perhaps at the expense of accuracy in hue
+ * and lightness.
+ */
SaturationIntent,
+
+ /**
+ * A rendering intent that specifies the full gamut of the image is
+ * compressed or expanded to fill the gamut of the destination
+ * device. Gray balance is preserved but colorimetric accuracy might
+ * not be preserved.
+ */
PerceptualIntent,
+
+ /**
+ * Absolute colorimetric.
+ */
AbsoluteIntent,
+
+ /**
+ * Relative colorimetric.
+ */
RelativeIntent
}