Skip to content

Commit 2c5c647

Browse files
author
EC2 Default User
committed
Added node-canvas 1.6.8 dependencies.
1 parent c892ca7 commit 2c5c647

File tree

132 files changed

+23640
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+23640
-0
lines changed

index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
var Canvas = require('canvas');
2+
3+
exports.handler = function(event, context, callback) {
4+
var canvas = new Canvas(200, 200);
5+
var ctx = canvas.getContext('2d');
6+
7+
ctx.font = '30px Impact';
8+
ctx.fillText('Awesome!', 50, 100);
9+
10+
callback(null, '<img src="' + canvas.toDataURL() + '" />');
11+
};
12+

libcairo-script-interpreter.so.2

150 KB
Binary file not shown.

libcairo.so.2

1.18 MB
Binary file not shown.

libcairomm-1.0.so.1

155 KB
Binary file not shown.

libgif.so.4

41.1 KB
Binary file not shown.

libgraphite2.so.3

180 KB
Binary file not shown.

libharfbuzz.so.0

412 KB
Binary file not shown.

libjpeg.so.62

275 KB
Binary file not shown.

libpango-1.0.so.0

303 KB
Binary file not shown.

libpangocairo-1.0.so.0

53 KB
Binary file not shown.

0 commit comments

Comments
 (0)