Skip to content

Commit

Permalink
chore: add open source tag to js
Browse files Browse the repository at this point in the history
  • Loading branch information
luckzhiwei committed Jun 1, 2020
1 parent 8bcfe30 commit 6ca58fb
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions node/export.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
const { createCanvas, Image } = require('bindings')('canvas');
const { PNGStream } = require("./stream/pngstream");
const { JPGStream } = require('./stream/jpgstream')
Expand Down
8 changes: 8 additions & 0 deletions node/stream/jpgstream.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
var Readable = require('stream').Readable;
var util = require('util');
class JPGStream {
Expand Down
8 changes: 8 additions & 0 deletions node/stream/pngstream.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
var Readable = require('stream').Readable;
var util = require('util');
class PNGStream {
Expand Down
8 changes: 8 additions & 0 deletions node/util/NodeBindingUtil.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
#include "NodeBindingUtil.h"
#include "lodepng.h"
#include "jpeglib.h"
Expand Down

0 comments on commit 6ca58fb

Please sign in to comment.