UNPKG
gm
Version:
latest (1.25.1)
1.25.1
1.25.0
1.24.0
1.23.1
1.23.0
1.22.0
1.21.1
1.21.0
1.20.0
1.19.0
1.18.1
1.17.0
1.16.0
1.15.0
1.14.2
1.14.1
1.14.0
1.13.3
1.13.2
1.13.1
1.13.0
1.12.2
1.12.1
1.12.0
1.11.1
1.11.0
1.10.0
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.2
0.1.1
GraphicsMagick and ImageMagick for node.js
github.com/aheckmann/gm
aheckmann/gm
gm
/
lib
/
convenience
/
sepia.js
11 lines
(8 loc)
•
164 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Extend proto. */
module
.
exports
=
function
(
proto
) { proto.
sepia
=
function
sepia
(
) {
return
this
.
modulate
(
115
,
0
,
100
).
colorize
(
7
,
21
,
50
); } }