diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-05-17 20:19:13 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-05-17 20:19:13 +0400 |
commit | 7eeb8ac01cea69fc8dbf3e4a58179b1026fc6198 (patch) | |
tree | bb1fda3f9be548369ebaa8742ba0129080257bb8 /tools/btools.py | |
parent | 351086dbb83fa42d393a8a4f64287c2b90e23d97 (diff) |
Color proofing support with lcms (http://www.littlecms.com/).
Enable with WITH_LCMS (options have been added for scons).
lcms is very common on linux package managers, so no need to add in extern (IMHO). Libs for windows can be added to /lib
Code is mostly a proof of concept with hardcoded path for icc profile (taken from the lcms test suite).
Adding this now to svn so it doesn't rot on my hard drive. People interested in pushing it forward should feel free to dig in the code or poke me about it.
Diffstat (limited to 'tools/btools.py')
-rwxr-xr-x | tools/btools.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/btools.py b/tools/btools.py index 2c9b564b8a1..bd646a2f3eb 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -61,6 +61,7 @@ def validate_arguments(args, bc): 'BF_FANCY', 'BF_QUIET', 'BF_X264_CONFIG', 'BF_XVIDCORE_CONFIG', + 'WITH_BF_LCMS', 'BF_LCMS_LIB', 'WITH_BF_DOCS', 'BF_NUMJOBS', ] @@ -353,6 +354,9 @@ def read_opts(cfg, args): (BoolVariable('BF_FANCY', 'Enable fancy output if true', True)), (BoolVariable('BF_QUIET', 'Enable silent output if true', True)), (BoolVariable('WITH_BF_BINRELOC', 'Enable relocatable binary (linux only)', False)), + + (BoolVariable('WITH_BF_LCMS', 'Enable color correction with lcms', False)), + ('BF_LCMS_LIB', 'LCMSlibrary', 'lcms'), ('BF_X264_CONFIG', 'configuration flags for x264', ''), ('BF_XVIDCORE_CONFIG', 'configuration flags for xvidcore', ''), |