10 Star 84 Fork 10

百度开源 / mix-img

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

mix-img

mix-img图片合成工具,通过调用canvas API实现包括图片和文字的合成并最终生成图片base64,合成成功后向用户展示和分享。

image

Install

npm install --save mix-img

Quick Start

import {mixImg} from 'mix-img';
import {mixConfig} from './mixConfig';  // 配置文件路径自定义
async function getImg() {
    const res = await mixImg(mixConfig);
    console.log('图片合成结束', res);
}

mixConfig参数配置可参见参数说明文档;Lib库使用者可以通过调试工具在本地进行预览调试,生成配置。

Document

ChangeLog

Please visit document ChangeLog

Comments ( 0 )

Sign in for post a comment

About

No description expand collapse
JavaScript and 5 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/baidu/mix-img.git
git@gitee.com:baidu/mix-img.git
baidu
mix-img
mix-img
master

Search