lambda-watermark:适用于S3图像的AWS Lambda Watermark服务

上传者: 42119989 | 上传时间: 2022-11-06 20:23:23 | 文件大小: 21KB | 文件类型: ZIP
λ水印 使用在为图像加水印。 此模块在图像的右下角放置一个水印。 S3 Lambda事件可用于为上载到S3的每个图像加水印。 如何使用 npm install lambda-watermark 创建您的函数(index.js) 'use strict' ; var LambdaWatermark = require ( 'lambda-watermark' ) ; var options = { watermarkImagePath : './exampleWatermark.png' , relativeSize : 5 , opacity : 50 } ; exports . handler = function ( event , context ) { new LambdaWatermark ( options ) ( event , context ) ;

文件下载

资源详情

[{"title":"( 18 个子文件 21KB ) lambda-watermark:适用于S3图像的AWS Lambda Watermark服务","children":[{"title":"lambda-watermark-master","children":[{"title":"lib","children":[{"title":"watermarker.js <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"lambdaWrapper.js <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"exampleWatermark.png <span style='color:#111;'> 10.40KB </span>","children":null,"spread":false},{"title":"example.js <span style='color:#111;'> 296B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"lambdaWrapper.helper.js <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"watermarker.spec.js <span style='color:#111;'> 6.11KB </span>","children":null,"spread":false},{"title":"index.spec.js <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"lambdaWrapper.spec.js <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"watermarker.helper.js <span style='color:#111;'> 181B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":".jslintrc <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":".jsbeautifyrc <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1013B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明