This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mfe
committed
Jan 22, 2014
1 parent
f60d1d6
commit 51a9654
Showing
3 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
""" Private colorspace definitions | ||
These colorspaces don't have public specifications. | ||
To add a colorspace, see example below. | ||
.. moduleauthor:: `Marie FETIVEAU <github.com/mfe>`_ | ||
""" | ||
from utils.colorspaces import AbstractColorspace | ||
|
||
# class DCI(AbstractColorspace): | ||
# """DCI colorspace | ||
|
||
# """ | ||
# def get_red_primaries(self): | ||
# # See DCI specifications | ||
# pass | ||
|
||
# def get_green_primaries(self): | ||
# # See DCI specifications | ||
# pass | ||
|
||
# def get_blue_primaries(self): | ||
# # See DCI specifications | ||
# pass | ||
|
||
# def get_white_point(self): | ||
# # See DCI specifications | ||
# pass | ||
|
||
# def lin_to_gamma(self, value): | ||
# # See DCI specifications | ||
# pass | ||
|
||
# def gamma_to_lin(self, value): | ||
# # See DCI specifications | ||
# pass | ||
|
||
|
||
# class DCID60(DCI): | ||
# """DCI colorspace with D60 white point | ||
|
||
# """ | ||
# def get_white_point(self): | ||
# return 0.3217, 0.3378 | ||
|
||
PRIVATE_COLORSPACES = { | ||
# 'DCI': DCI(), | ||
# 'DCI_D60': DCID60() | ||
} |