mosaic-node-generator:在Node中生成镶嵌图像

时间:2021-05-26 19:15:45
【文件属性】:
文件名称:mosaic-node-generator:在Node中生成镶嵌图像
文件大小:1.27MB
文件格式:ZIP
更新时间:2021-05-26 19:15:45
nodejs image node generator picture 镶嵌节点生成器 生成镶嵌图像的Node模块。 安装 您必须在系统中安装 使用npm : npm install mosaic-node-generator --save 例子 示例: 代码用法 Java脚本 简单的例子。 创建从画面的马赛克图像picture.jpg用砖从文件夹pictures_folder 。 var mosaic = require ( 'mosaic-node-generator' ) ; mosaic . mosaic ( 'picture.jpg' , 'pictures_folder' ) ; /** * Generates a mosaic image * @param inputImagePath The path of the input image that will be used to generate the mos
【文件预览】:
mosaic-node-generator-master
----.gitignore(971B)
----tsconfig.json(5KB)
----README.md(4KB)
----test()
--------ts()
--------js()
--------data()
----LICENSE(1KB)
----package.json(1KB)
----dist()
--------cli.js(2KB)
--------test()
--------index.js(3KB)
--------cli.d.ts(11B)
--------index.d.ts(1KB)
--------lib()
----index.ts(2KB)
----.npmignore(22B)
----.travis.yml(89B)
----lib()
--------rgb.ts(600B)
--------jimp-image.ts(5KB)
--------utility.ts(139B)
--------mosaic-default-config.json.ts(586B)
--------mosaic-service.ts(14KB)
--------image.ts(491B)
--------mosaic-image.ts(16KB)
----cli.ts(2KB)
----package-lock.json(35KB)

网友评论