forked from lehins/hip
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hip.cabal
152 lines (145 loc) · 6.25 KB
/
hip.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
Name: hip
Version: 1.5.3.0
License: BSD3
License-File: LICENSE
Author: Alexey Kuleshevich
Stability: experimental
Maintainer: [email protected]
Category: Image Processing, Graphics
Synopsis: Haskell Image Processing (HIP) Library.
Description:
.
Haskell Image Processing (HIP) Library provides an easy to use interface with a whole variaty of image manipulation capabilities.
.
Processing can be done sequentially as well as in parallel, with an inherited fusion capabily, all through <https://hackage.haskell.org/package/repa repa> and <https://hackage.haskell.org/package/vector vector> packages. It is highly extendable, with an ability to add various color spaces or provide implementations for underlying array like custom data structures.
.
It is capable of reading and writing a number of popular image formats by using <https://hackage.haskell.org/package/JuicyPixels JuciyPixels> and <https://hackage.haskell.org/package/netpbm netpbm> packages. Being a pure Haskell library it does not require any external programs, although it can display images using a program of your choice.
Homepage: https://github.com/lehins/hip
Bug-Reports: https://github.com/lehins/hip/issues
Cabal-Version: >= 1.18
Build-Type: Simple
Extra-Doc-Files: images/*.jpg
, images/*.png
, images/*.gif
, images/downloaded/*.gif
, images/*.svg
, README.md
CHANGELOG.md
Library
Default-Language: Haskell2010
HS-Source-Dirs: src
Build-Depends: Chart >= 1.5
, Chart-diagrams >= 1.5
, JuicyPixels >= 3.2.7
, base >= 4.5 && < 5
, bytestring >= 0.9.0.4
, colour >= 2.3.3
, deepseq >= 1.1
, directory >= 1.2.2.0
, filepath >= 1.0
, netpbm >= 1.0.1
, primitive >= 0.4
, process >= 1.1.0.0
, repa >= 3.2.1.1 && < 4
, temporary >= 1.1.1
, vector >= 0.10
Other-Extensions: BangPatterns
, ConstraintKinds
, CPP
, FlexibleContexts
, FlexibleInstances
, FunctionalDependencies
, MultiParamTypeClasses
, ScopedTypeVariables
, TypeFamilies
, UndecidableInstances
, ViewPatterns
Exposed-Modules: Graphics.Image
, Graphics.Image.ColorSpace
, Graphics.Image.IO
, Graphics.Image.IO.Formats
, Graphics.Image.IO.Histogram
, Graphics.Image.Interface
, Graphics.Image.Interface.Repa
, Graphics.Image.Interface.Vector
, Graphics.Image.Processing
, Graphics.Image.Processing.Binary
, Graphics.Image.Processing.Complex
, Graphics.Image.Processing.Filter
, Graphics.Image.Types
Other-Modules: Graphics.Image.ColorSpace.Binary
, Graphics.Image.ColorSpace.CMYK
, Graphics.Image.ColorSpace.Complex
, Graphics.Image.ColorSpace.HSI
, Graphics.Image.ColorSpace.RGB
, Graphics.Image.ColorSpace.X
, Graphics.Image.ColorSpace.Y
, Graphics.Image.ColorSpace.YCbCr
, Graphics.Image.IO.Base
, Graphics.Image.IO.Formats.JuicyPixels
, Graphics.Image.IO.Formats.Netpbm
, Graphics.Image.Interface.Elevator
, Graphics.Image.Interface.Repa.Generic
, Graphics.Image.Interface.Repa.Storable
, Graphics.Image.Interface.Repa.Unboxed
, Graphics.Image.Interface.Vector.Generic
, Graphics.Image.Interface.Vector.Storable
, Graphics.Image.Interface.Vector.Unboxed
, Graphics.Image.Interface.Vector.Unboxing
, Graphics.Image.Processing.Convolution
, Graphics.Image.Processing.Complex.Fourier
, Graphics.Image.Processing.Geometric
, Graphics.Image.Processing.Interpolation
, Graphics.Image.Utils
GHC-Options: -Wall
if os(windows)
CPP-Options: -DOS_Win32
else
if os(linux)
CPP-Options: -DOS_Linux
else
if os(darwin)
CPP-Options: -DOS_Mac
Test-Suite hip-tests
Type: exitcode-stdio-1.0
HS-Source-Dirs: tests
Main-Is: Spec.hs
Other-Modules: Graphics.Image.ColorSpaceSpec
, Graphics.Image.ProcessingSpec
, Graphics.Image.Processing.BinarySpec
, Graphics.Image.InterfaceSpec
, Graphics.Image.Interface.VectorSpec
, Graphics.Image.Interface.RepaSpec
, Graphics.Image.IO.FormatsSpec
Build-Depends: base >= 4.5 && < 5
, bytestring
, hip
, hspec
, QuickCheck
Default-Language: Haskell2010
GHC-Options: -Wall -threaded -with-rtsopts=-N
benchmark convolution
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Convolution.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N6 -O2
build-depends: base
, criterion
, deepseq
, repa
, repa-algorithms
, hip
, vector
default-language: Haskell2010
benchmark histogram
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Histogram.hs
ghc-options: -threaded -O2
build-depends: base
, criterion
, hip
default-language: Haskell2010
Source-Repository head
Type: git
Location: https://github.com/lehins/hip.git