summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2010-07-10 17:26:00 +0200
committerMarti Maria <info@littlecms.com>2010-07-10 17:26:00 +0200
commitde6ca05b7c24d2f879f8b8af739eb74cda23b542 (patch)
tree7006c54c2fc99f02315604a9394bdbefb4c997af /include
parentf6c1e29a1a50de3033f7e757d41f7b3c6a90b8d0 (diff)
downloadlcms2-de6ca05b7c24d2f879f8b8af739eb74cda23b542.tar.gz
A better solution for cmsChangeBuffersFormat
Diffstat (limited to 'include')
-rw-r--r--include/lcms2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/lcms2.h b/include/lcms2.h
index f84f3ab..df6d117 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -1503,7 +1503,6 @@ CMSAPI cmsUInt32Number CMSEXPORT cmsGetSupportedIntents(cmsUInt32Number nMax, c
#define cmsFLAGS_NOOPTIMIZE 0x0100 // Inhibit optimizations
#define cmsFLAGS_NULLTRANSFORM 0x0200 // Don't transform anyway
-
// Proofing flags
#define cmsFLAGS_GAMUTCHECK 0x1000 // Out of Gamut alarm
#define cmsFLAGS_SOFTPROOFING 0x4000 // Do softproofing
@@ -1607,8 +1606,15 @@ CMSAPI void CMSEXPORT cmsGetAlarmCodes(cmsUInt16Number NewAlarm[cmsM
// Adaptation state for absolute colorimetric intent
CMSAPI cmsFloat64Number CMSEXPORT cmsSetAdaptationState(cmsFloat64Number d);
+// Grab the ContextID from an open transform. Returns NULL if a NULL transform is passed
CMSAPI cmsContext CMSEXPORT cmsGetTransformContextID(cmsHTRANSFORM hTransform);
+// For backwards compatibility
+CMSAPI cmsBool CMSEXPORT cmsChangeBuffersFormat(cmsHTRANSFORM hTransform,
+ cmsUInt32Number InputFormat,
+ cmsUInt32Number OutputFormat);
+
+
// PostScript ColorRenderingDictionary and ColorSpaceArray ----------------------------------------------------