projects
/
convert-color-husl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af9d49f
)
Use new XYZ matrices (from rev4)
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 17 Jun 2015 13:06:47 +0000
(16:06 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 17 Jun 2015 13:06:47 +0000
(16:06 +0300)
lib/Convert/Color/XYZ.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Convert/Color/XYZ.pm
b/lib/Convert/Color/XYZ.pm
index 73d5eabe69621bf26d3ce2f4173b63584385b839..97a10f241cc5da3bb6aac344949652636a9002b0 100644
(file)
--- a/
lib/Convert/Color/XYZ.pm
+++ b/
lib/Convert/Color/XYZ.pm
@@
-11,13
+11,13
@@
use List::Util qw/sum/;
our $VERSION = '0.001';
use constant +{ ## no critic (Capitalization)
our $VERSION = '0.001';
use constant +{ ## no critic (Capitalization)
- MAT_R => [
3.240969941904521, -1.537383177570093, -0.498610760293
],
- MAT_G => [ -0.96924363628087
, 1.87596750150772, 0.041555057407175
],
- MAT_B => [
0.055630079696993, -0.20397695888897, 1.056971514242878
],
+ MAT_R => [
3.2409699419045214, -1.5373831775700935, -0.49861076029300328
],
+ MAT_G => [ -0.96924363628087
983, 1.8759675015077207, 0.041555057407175613
],
+ MAT_B => [
0.055630079696993609, -0.20397695888897657, 1.0569715142428786
],
- IMAT_X => [ 0.41239079926595
, 0.35758433938387, 0.18048078840183
],
- IMAT_Y => [ 0.21263900587151
, 0.71516867876775, 0.072192315360733
],
- IMAT_Z => [ 0.019330818715591
, 0.11919477979462, 0.95053215224966
],
+ IMAT_X => [ 0.41239079926595
948, 0.35758433938387796, 0.18048078840183429
],
+ IMAT_Y => [ 0.21263900587151
036, 0.71516867876775593, 0.072192315360733715
],
+ IMAT_Z => [ 0.019330818715591
851, 0.11919477979462599, 0.95053215224966058
],
};
__PACKAGE__->register_color_space('xyz');
};
__PACKAGE__->register_color_space('xyz');
This page took
0.011331 seconds
and
4
git commands to generate.