fix: export Picture
This commit is contained in:
parent
2403c2fd6e
commit
bc02da7242
@ -3,15 +3,16 @@
|
|||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
Module : Picture
|
Module : Data.Picture
|
||||||
Description : manipulation functions
|
Description : picture manipulation functions
|
||||||
Copyright : (c) Mahdi Dibaiee, 2016
|
Copyright : (c) Mahdi Dibaiee, 2016
|
||||||
License : GPL-3
|
License : GPL-3
|
||||||
Maintainer : mdibaiee@aol.com
|
Maintainer : mdibaiee@aol.com
|
||||||
Stability : experimental
|
Stability : experimental
|
||||||
Portability : POSIX
|
Portability : POSIX
|
||||||
-}
|
-}
|
||||||
module Data.Picture ( grayscale
|
module Data.Picture ( Picture
|
||||||
|
, grayscale
|
||||||
, readPicture
|
, readPicture
|
||||||
, fromImage
|
, fromImage
|
||||||
, toImage
|
, toImage
|
||||||
@ -31,7 +32,7 @@ module Data.Picture ( grayscale
|
|||||||
import System.IO
|
import System.IO
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
|
|
||||||
-- | 'Picture' type is just a triple of color channel matrices: (R, G, B)
|
-- | (R, G, B) color channels
|
||||||
type Picture = (Matrix Double, Matrix Double, Matrix Double)
|
type Picture = (Matrix Double, Matrix Double, Matrix Double)
|
||||||
|
|
||||||
-- | Converts a JuicyPixel 'Image PixelRGB8' to 'Picture'
|
-- | Converts a JuicyPixel 'Image PixelRGB8' to 'Picture'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user