-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprizm.cabal
85 lines (75 loc) · 2.59 KB
/
prizm.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: prizm
version: 3.0.0
synopsis: Convert colors to different color spaces, interpolate colors, and transform colors
homepage: https://github.com/ixmatus/prizm
license: BSD3
license-file: LICENSE
author: Parnell Springmeyer
maintainer: parnell+hackage@digitalmentat.com
copyright: (c) 2013 Parnell Springmeyer
category: Graphics
build-type: Simple
stability: stable
bug-reports: https://github.com/ixmatus/prizm/issues
package-url: http://hackage.haskell.org/package/prizm
tested-with: GHC >= 7.8.4
cabal-version: >=1.18.1
description:
@prizm@ is a Haskell library for transforming colors. Specifically,
providing functions for transforming between different color spaces
(@CIE@ and @sRGB@), interpolating colors and adjusting the tint,
shade, hue, or lightness of a color.
.
The inspiration for this library came from a desire to blend two
colors represented in the @sRGB@ color space. My research about color
blending and color space representation in the computer led me to
the conclusion that the @CIE L*Ch@ color space is the most effective
for blending because it most accurately represents how the human eye
sees hue and therefore preserves (and blends) hue the most
accurately.
extra-source-files:
LICENSE
README.md
source-repository head
type: git
location: https://github.com/ixmatus/prizm
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Data.Prizm.Color
Data.Prizm.Color.CIE
Data.Prizm.Color.CIE.Chroma.Illuminant
Data.Prizm.Color.CIE.Matrices.RGB
Data.Prizm.Color.CIE.Matrices.XYZ
Data.Prizm.Color.CIE.Types
Data.Prizm.Color.Constants
Data.Prizm.Color.RGB
Data.Prizm.Color.RGB.Types
Data.Prizm.Color.Transform
Data.Prizm.Types
ghc-options: -Wall -fno-warn-orphans
build-depends:
base >= 4.5 && < 5,
text >= 0.11.2.3,
convertible >= 1.1
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Test.hs
default-language: Haskell2010
other-modules:
QC.RGB
QC.CIE
HUnit.Blending
ghc-options:
-Wall -threaded -rtsopts
build-depends:
prizm,
base,
QuickCheck,
HUnit,
convertible,
test-framework,
test-framework-quickcheck2,
test-framework-hunit