forked from Twinside/Juicy.Pixels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJuicyPixels.cabal
151 lines (135 loc) · 5.35 KB
/
JuicyPixels.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
Name: JuicyPixels
Version: 3.2.5
Synopsis: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
Description:
<<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVEUAAABJqDSTWEL/qyb///8AAABH/1GTAAAAAXRSTlMAQObYZgAAAN5JREFUeF7s1sEJgFAQxFBbsAV72v5bEVYWPwT/XDxmCsi7zvHXavYREBDI3XP2GgICqBBYuwIC+/rVayPUAyAg0HvIXBcQoDFDGnUBgWQQ2Bx3AYFaRoBpAQHWb3bt2ARgGAiCYFFuwf3X5HA/McgGJWI2FdykCv4aBYzmKwDwvl6NVmUAAK2vlwEALK7fo88GANB6HQsAAAAAAAAA7P94AQCzswEAAAAAAAAAAAAAAAAAAICzh4UAO4zWAYBfRutHA4Bn5C69JhowAMGoBaMWDG0wCkbBKBgFo2AUAACPmegUST/IJAAAAABJRU5ErkJggg==>>
.
This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.
homepage: https://github.com/Twinside/Juicy.Pixels
License: BSD3
License-file: LICENSE
Author: Vincent Berthoux
Maintainer: [email protected]
Category: Codec, Graphics, Image
Stability: Stable
Build-type: Simple
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >= 1.10
extra-source-files: changelog, docimages/*.png, docimages/*.svg
extra-doc-files: docimages/*.png, docimages/*.svg
Source-Repository head
Type: git
Location: git://github.com/Twinside/Juicy.Pixels.git
Source-Repository this
Type: git
Location: git://github.com/Twinside/Juicy.Pixels.git
Tag: v3.2.5
Flag Mmap
Description: Enable the file loading via mmap (memory map)
Default: False
Executable toPng
hs-source-dirs: test-src
Default-Language: Haskell2010
Main-Is: toPng.hs
Ghc-options: -O3 -Wall
Ghc-prof-options: -rtsopts -Wall -prof -auto-all
Include-Dirs: src/Codec/Picture
-- -cpp -prof -auto-all -rtsopts -caf-all -fforce-recomp
Build-depends: base,
bytestring,
JuicyPixels
Test-suite imageTest
type: exitcode-stdio-1.0
hs-source-dirs: test-src
Default-Language: Haskell2010
Main-Is: main.hs
Ghc-options: -O3 -Wall
Ghc-prof-options: -rtsopts -Wall -prof -auto-all
-- -O3 -Wall
--
-- -ddump-simpl
--
Include-Dirs: src/Codec/Picture
-- -cpp -prof -auto-all -rtsopts -caf-all -fforce-recomp
Build-depends: base,
bytestring, mtl, binary, zlib, transformers,
vector, primitive, deepseq,
filepath >= 1.3,
criterion >= 1.0,
JuicyPixels
if flag(Mmap)
Build-depends: mmap
CC-Options: "-DWITH_MMAP_BYTESTRING"
Benchmark imageBenchmark
type: exitcode-stdio-1.0
hs-source-dirs: test-src
Default-Language: Haskell2010
Main-Is: main.hs
Ghc-options: -O3 -Wall
Ghc-prof-options: -rtsopts -Wall -prof -auto-all
-- -O3 -Wall
--
-- -ddump-simpl
--
Include-Dirs: src/Codec/Picture
-- -cpp -prof -auto-all -rtsopts -caf-all -fforce-recomp
Build-depends: base,
bytestring, mtl, binary, zlib, transformers,
vector, primitive, deepseq,
filepath >= 1.3,
criterion >= 1.0,
JuicyPixels
if flag(Mmap)
Build-depends: mmap
CC-Options: "-DWITH_MMAP_BYTESTRING"
Library
hs-source-dirs: src
Default-Language: Haskell2010
Exposed-modules: Codec.Picture,
Codec.Picture.Bitmap,
Codec.Picture.Gif,
Codec.Picture.Png,
Codec.Picture.Jpg,
Codec.Picture.HDR,
Codec.Picture.Tga,
Codec.Picture.Tiff,
Codec.Picture.Metadata,
Codec.Picture.Metadata.Exif,
Codec.Picture.Saving,
Codec.Picture.Types,
Codec.Picture.ColorQuant
Ghc-options: -O3 -Wall
Ghc-prof-options: -rtsopts -Wall -prof -auto-all
Build-depends: base >= 4.5 && < 5,
bytestring >= 0.9 && < 0.11,
mtl >= 1.1 && < 2.3,
binary >= 0.5 && < 0.8,
zlib >= 0.5.3.1 && < 0.7,
transformers >= 0.2,
vector >= 0.9 && < 0.11,
primitive >= 0.4 && < 0.7,
deepseq >= 1.1 && < 1.5,
containers >= 0.4.2 && < 0.6
if flag(Mmap)
Build-depends: mmap
CC-Options: "-DWITH_MMAP_BYTESTRING"
-- Modules not exported by this package.
Other-modules: Codec.Picture.Jpg.DefaultTable,
Codec.Picture.Jpg.Metadata,
Codec.Picture.Jpg.FastIdct,
Codec.Picture.Jpg.FastDct,
Codec.Picture.Jpg.Types,
Codec.Picture.Jpg.Common,
Codec.Picture.Jpg.Progressive,
Codec.Picture.Gif.LZW,
Codec.Picture.Gif.LZWEncoding,
Codec.Picture.Png.Export,
Codec.Picture.Png.Type,
Codec.Picture.Png.Metadata,
Codec.Picture.Tiff.Metadata,
Codec.Picture.Tiff.Types,
Codec.Picture.BitWriter,
Codec.Picture.InternalHelper,
Codec.Picture.VectorByteConversion
Install-Includes: src/Codec/Picture/ConvGraph.hs
Include-Dirs: src/Codec/Picture