|
0 |
Metadata-Version: 1.0
|
|
1 |
Name: grapefruit
|
|
2 |
Version: 0.1a3
|
|
3 |
Summary: A module to manipulate color information easily.
|
|
4 |
Home-page: http://code.google.com/p/grapefruit/
|
|
5 |
Author: Xavier Basty
|
|
6 |
Author-email: xbasty@gmail.com
|
|
7 |
License: Apache License 2.0
|
|
8 |
Download-URL: http://grapefruit.googlecode.com/files/grapefruit-0.1a3.tar.gz
|
|
9 |
Description: =====================
|
|
10 |
README for GrapeFruit
|
|
11 |
=====================
|
|
12 |
|
|
13 |
Installing
|
|
14 |
============
|
|
15 |
|
|
16 |
**From the sources:**
|
|
17 |
|
|
18 |
Download the latest grapefruit library from:
|
|
19 |
|
|
20 |
http://code.google.com/p/grapefruit/
|
|
21 |
|
|
22 |
|
|
23 |
Untar the source distribution and run::
|
|
24 |
|
|
25 |
$ python setup.py build
|
|
26 |
$ python setup.py install
|
|
27 |
|
|
28 |
|
|
29 |
Testing
|
|
30 |
=========
|
|
31 |
|
|
32 |
With setuptools installed::
|
|
33 |
|
|
34 |
$ python setup.py test
|
|
35 |
|
|
36 |
Without setuptools installed::
|
|
37 |
|
|
38 |
$ python grapefruit_test.py
|
|
39 |
|
|
40 |
|
|
41 |
Getting the code
|
|
42 |
==================
|
|
43 |
|
|
44 |
View the trunk at:
|
|
45 |
|
|
46 |
http://grapefruit.googlecode.com/svn/trunk/
|
|
47 |
|
|
48 |
Check out the latest development version anonymously with::
|
|
49 |
|
|
50 |
$ svn checkout http://grapefruit.googlecode.com/svn/trunk/ GrapeFruit
|
|
51 |
|
|
52 |
Documentation
|
|
53 |
===============
|
|
54 |
|
|
55 |
You can download a compiled version of the documentation at:
|
|
56 |
|
|
57 |
http://http://code.google.com/p/grapefruit/downloads/list?q=label:Type-Docs
|
|
58 |
|
|
59 |
The documentation is generated from reStructuredText sources by Sphinx.
|
|
60 |
If you need to build it, go into the doc folder and run::
|
|
61 |
|
|
62 |
make <builder>
|
|
63 |
|
|
64 |
Or, if you're running windows::
|
|
65 |
|
|
66 |
makedoc.cmd
|
|
67 |
|
|
68 |
|
|
69 |
License
|
|
70 |
=========
|
|
71 |
|
|
72 |
::
|
|
73 |
|
|
74 |
Copyright (c) 2008, Xavier Basty
|
|
75 |
|
|
76 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
77 |
you may not use this file except in compliance with the License.
|
|
78 |
You may obtain a copy of the License at
|
|
79 |
|
|
80 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
81 |
|
|
82 |
Unless required by applicable law or agreed to in writing, software
|
|
83 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
84 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
85 |
See the License for the specific language governing permissions and
|
|
86 |
limitations under the License.
|
|
87 |
|
|
88 |
2008-06-15
|
|
89 |
- Released 0.1a3
|
|
90 |
- Added Gradient
|
|
91 |
|
|
92 |
2008-06-01
|
|
93 |
- Fixed overflow in alpha blending.
|
|
94 |
|
|
95 |
2008-05-29
|
|
96 |
- Added Saturate/Desaturate.
|
|
97 |
- Added MonochromeScheme
|
|
98 |
- Added the mode parameter to the generation methods to choose the
|
|
99 |
color wheel use for the generation (ryb/rgb).
|
|
100 |
|
|
101 |
2008-05-28
|
|
102 |
- Added the RGB<->RYB hue conversion.
|
|
103 |
- Added an angle parameter to the tetrad scheme to control the shape of
|
|
104 |
the rectangle.
|
|
105 |
|
|
106 |
2008-05-27
|
|
107 |
- Released 0.1a2
|
|
108 |
|
|
109 |
2008-05-24
|
|
110 |
|
|
111 |
- Fixed the HSL->RGB conversion
|
|
112 |
(the modulo in the hue conversion was 60 instead of 6.0!)
|
|
113 |
Updated the unit tests (which were wrong!)
|
|
114 |
|
|
115 |
2008-05-24
|
|
116 |
|
|
117 |
Released 0.1a1
|
|
118 |
- Convert the documentation to Sphinx
|
|
119 |
- Completed the unit tests
|
|
120 |
- Fixed some stupid typos
|
|
121 |
|
|
122 |
2008-05-22
|
|
123 |
|
|
124 |
- Refactored pretty much everything to more standard "Python coding style".
|
|
125 |
- Replaced the global variables by Color properties.
|
|
126 |
- Moved the module functions to static methods of Color.
|
|
127 |
- Completed the CIE white point dictionary to include all the standard
|
|
128 |
illuminants.
|
|
129 |
- Added doctest for all the functions.
|
|
130 |
- Fixed the conversions factors to get better results (more exact and
|
|
131 |
more symmetric).
|
|
132 |
- Changed the range of the L component from [0~1] to [0~100] (as it should
|
|
133 |
have been).
|
|
134 |
- Added packaging data and setup.
|
|
135 |
- Changed the structure of the unit tests.
|
|
136 |
|
|
137 |
2008-05-08
|
|
138 |
|
|
139 |
Released 0.1a0
|
|
140 |
- Initial checkin of grapefruit
|
|
141 |
|
|
142 |
Keywords: color conversion
|
|
143 |
Platform: UNKNOWN
|
|
144 |
Classifier: Development Status :: 3 - Alpha
|
|
145 |
Classifier: Intended Audience :: Developers
|
|
146 |
Classifier: License :: OSI Approved :: Apache Software License
|
|
147 |
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
148 |
Classifier: Topic :: Multimedia :: Graphics
|