prizm 0.3.1.1 → 0.3.1.2
raw patch · 6 files changed
+45/−8 lines, 6 files
Files
- README.org +3/−0
- prizm.cabal +4/−1
- src/Data/Prizm/Color/Matrices/RGB.hs +11/−3
- src/Data/Prizm/Color/Matrices/XYZ.hs +11/−3
- src/Data/Prizm/Color/Transform.hs +8/−1
- src/Data/Prizm/Types.hs +8/−0
README.org view
@@ -1,4 +1,7 @@ * Welcome!+ [[https://hackage.haskell.org/package/prizm][https://img.shields.io/hackage/v/prizm.svg?style=flat]]+ [[https://travis-ci.org/ixmatus/prizm][https://travis-ci.org/ixmatus/prizm.svg?branch=master]]+ `prizm` is a Haskell library for computing with colors. Specifically providing functions for transforming between different color spaces, interpolating colors and adjusting the tint, shade, hue, or
prizm.cabal view
@@ -1,5 +1,5 @@ name: prizm-version: 0.3.1.1+version: 0.3.1.2 synopsis: Compute with colors and differenct color spaces homepage: https://github.com/ixmatus/prizm license: BSD3@@ -17,6 +17,9 @@ description:++ <<https://travis-ci.org/ixmatus/prizm.svg?branch=master>>+ . `prizm` is a Haskell library for computing with colors. Specifically providing functions for transforming between different color spaces, interpolating colors and adjusting the tint, shade, hue, or
src/Data/Prizm/Color/Matrices/RGB.hs view
@@ -1,8 +1,16 @@+-----------------------------------------------------------------------------+-- |+-- Module : Data.Prizm.Color.Matrices.RGB+-- Copyright : (C) 2013 Parnell Springmeyer+-- License : BSD3+-- Maintainer : Parnell Springmeyer <parnell@ixmat.us>+-- Stability : stable+--+-- Pre-calculated illuminant matrices: <http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html RGB to XYZ Matrix>.+----------------------------------------------------------------------------- module Data.Prizm.Color.Matrices.RGB where -import Data.Prizm.Types---- http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html+import Data.Prizm.Types d65SRGB :: RGBtoXYZ d65SRGB = RGBtoXYZ [
src/Data/Prizm/Color/Matrices/XYZ.hs view
@@ -1,8 +1,16 @@+-----------------------------------------------------------------------------+-- |+-- Module : Data.Prizm.Color.Matrices.XYZ+-- Copyright : (C) 2013 Parnell Springmeyer+-- License : BSD3+-- Maintainer : Parnell Springmeyer <parnell@ixmat.us>+-- Stability : stable+--+-- Pre-calculated illuminant matrices: <http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html RGB to XYZ Matrix>.+----------------------------------------------------------------------------- module Data.Prizm.Color.Matrices.XYZ where -import Data.Prizm.Types---- http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html+import Data.Prizm.Types d65SRGB :: XYZtoRGB d65SRGB = XYZtoRGB [
src/Data/Prizm/Color/Transform.hs view
@@ -1,5 +1,12 @@ {-# LANGUAGE OverloadedStrings #-}-+-----------------------------------------------------------------------------+-- |+-- Module : Data.Prizm.Color.Transform+-- Copyright : (C) 2013 Parnell Springmeyer+-- License : BSD3+-- Maintainer : Parnell Springmeyer <parnell@ixmat.us>+-- Stability : stable+----------------------------------------------------------------------------- module Data.Prizm.Color.Transform where import Control.Applicative
src/Data/Prizm/Types.hs view
@@ -1,3 +1,11 @@+-----------------------------------------------------------------------------+-- |+-- Module : Data.Prizm.Types+-- Copyright : (C) 2013 Parnell Springmeyer+-- License : BSD3+-- Maintainer : Parnell Springmeyer <parnell@ixmat.us>+-- Stability : stable+----------------------------------------------------------------------------- module Data.Prizm.Types where import Control.Applicative