{"id":20064883,"url":"https://github.com/baidu/mix-img","last_synced_at":"2025-04-06T09:10:14.443Z","repository":{"id":48837823,"uuid":"371924062","full_name":"baidu/mix-img","owner":"baidu","description":"A fast mix image javascript tool libary","archived":false,"fork":false,"pushed_at":"2021-07-09T06:50:06.000Z","size":601,"stargazers_count":334,"open_issues_count":1,"forks_count":34,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-30T06:10:28.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baidu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-29T08:47:05.000Z","updated_at":"2025-03-03T06:06:28.000Z","dependencies_parsed_at":"2022-09-26T20:20:25.910Z","dependency_job_id":null,"html_url":"https://github.com/baidu/mix-img","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fmix-img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fmix-img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fmix-img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fmix-img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baidu","download_url":"https://codeload.github.com/baidu/mix-img/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T13:48:05.879Z","updated_at":"2025-04-06T09:10:14.424Z","avatar_url":"https://github.com/baidu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mix-img\nmix-img图片合成工具，通过调用canvas API实现包括图片和文字的合成并最终生成图片base64，合成成功后向用户展示和分享。\n\n![image](https://efe-h2.cdn.bcebos.com/ceug/resource/res/2021-03/1616594872570/aol5g54dm8p7.jpg)\n## Install\n\n```js\nnpm install --save mix-img\n```\n## Quick Start\n```js\nimport {mixImg} from 'mix-img';\nimport {mixConfig} from './mixConfig';  // 配置文件路径自定义\nasync function getImg() {\n    const res = await mixImg(mixConfig);\n    console.log('图片合成结束', res);\n}\n```\n\n\u003e mixConfig参数配置可参见参数说明文档；Lib库使用者可以通过调试工具在本地进行预览调试，生成配置。\n\n## Document\n- [Start](https://github.com/baidu/mix-img/blob/master/README.md)\n- [Example](https://github.com/baidu/mix-img/blob/master/test/e2e/index.js)\n- [mixImg方法使用说明](https://github.com/baidu/mix-img/blob/master/docs/mixImg.md)\n- [mixConfig参数说明文档](https://github.com/baidu/mix-img/blob/master/docs/mixConfig.md)\n- [参数调试工具](https://github.com/baidu/mix-img/blob/master/docs/tool.md)\n- [本库开发者阅读](https://github.com/baidu/mix-img/blob/master/docs/dev.md)\n\n## ChangeLog\nPlease visit document [ChangeLog](https://github.com/baidu/mix-img/blob/master/CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fmix-img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaidu%2Fmix-img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fmix-img/lists"}