prizm-2.0.0: prizm.cabal
name: prizm
version: 2.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
other-modules:
Data.Prizm.Color.CIE.Types
Data.Prizm.Color.Constants
Data.Prizm.Color.Matrices.RGB
Data.Prizm.Color.Matrices.XYZ
Data.Prizm.Color.RGB.Types
exposed-modules:
Data.Prizm.Color
Data.Prizm.Color.CIE
Data.Prizm.Color.RGB
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,
mono-traversable >= 1.0
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 >= 4,
QuickCheck >= 2.5,
HUnit >= 1.5,
convertible >= 1.1,
test-framework >= 0.8,
mono-traversable >= 1.0,
test-framework-quickcheck2 >= 0.3.0,
test-framework-hunit >= 0.3.0