Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2021-06-20 20:43:03 +0300
committerMarti Maria <marti.maria@littlecms.com>2021-06-20 20:43:03 +0300
commit6b04ee0bab3ebe6f2c487195bac7b86efadd58d3 (patch)
tree6361af079f5ebbebd5e0e8e6c19efa183e010b69 /utils
parent8564c9b4fbf07d23062bbbbd87d5eb10dd92073f (diff)
Add automatic linear space detection
- Added a function to estimate gamma space of RGB profiles (only a subset). This function is still undocumented. - Lcms now automatically turns off optimizations when 16-bit on RGB and input linear space is found.
Diffstat (limited to 'utils')
-rw-r--r--utils/delphi/lcms2dll.pas7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/delphi/lcms2dll.pas b/utils/delphi/lcms2dll.pas
index 9af7a0d..9368fc9 100644
--- a/utils/delphi/lcms2dll.pas
+++ b/utils/delphi/lcms2dll.pas
@@ -3,7 +3,7 @@
//---------------------------------------------------------------------------------
//
// Little Color Management System
-// Copyright (c) 1998-2014 Marti Maria Saguer
+// Copyright (c) 1998-2021 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
@@ -25,7 +25,7 @@
//
//---------------------------------------------------------------------------------
//
-// Version 2.6
+// Version 2.13
//
UNIT lcms2dll;
@@ -1659,6 +1659,9 @@ FUNCTION cmsDetectDestinationBlackPoint( BlackPoint: LPcmsCIEXYZ; hProfile: cmsH
// Estimate total area coverage
FUNCTION cmsDetectTAC(hProfile: cmsHPROFILE): cmsFloat64Number; StdCall;
+// Estimate profile gamma
+FUNCTION cmsDetectRGBProfileGamma(hProfile: cmsHPROFILE): cmsFloat64Number; StdCall;
+
// Poor man's gamut mapping
FUNCTION cmsDesaturateLab(Lab: LPcmsCIELab; amax, amin, bmax, bmin: cmsFloat64Number): cmsBool; StdCall;