{"id":19081827,"url":"https://github.com/george518/go-clipimg","last_synced_at":"2026-03-04T22:31:05.206Z","repository":{"id":139812441,"uuid":"114526560","full_name":"george518/GO-ClipImg","owner":"george518","description":"Qt\u0026Golang-桌面版图片处理工具","archived":false,"fork":false,"pushed_at":"2017-12-17T16:09:53.000Z","size":26059,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T13:31:18.406Z","etag":null,"topics":["go","golang","image","image-processing","qt"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/george518.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-17T10:08:18.000Z","updated_at":"2024-07-12T09:16:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4994733-cbfc-4c6d-aa3c-31b0e5da3144","html_url":"https://github.com/george518/GO-ClipImg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/george518/GO-ClipImg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george518%2FGO-ClipImg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george518%2FGO-ClipImg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george518%2FGO-ClipImg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george518%2FGO-ClipImg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/george518","download_url":"https://codeload.github.com/george518/GO-ClipImg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george518%2FGO-ClipImg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30096727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T21:59:23.547Z","status":"ssl_error","status_checked_at":"2026-03-04T21:57:50.415Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","golang","image","image-processing","qt"],"created_at":"2024-11-09T02:39:26.786Z","updated_at":"2026-03-04T22:31:05.160Z","avatar_url":"https://github.com/george518.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"GO-ClipImg\n====\n什么东西？What?\n----\nQt和Golang混编开发的桌面应用，可用于批量提取图片的核心部分，并按照用户自定义的尺寸和位置以及边距生成新的图片。\n图片的底色必须是白色或者其他纯色。\n\n界面如下：\n![github](https://github.com/george518/GO-ClipImg/blob/master/images/ui.png?raw=true \"github\")\n\u003cbr/\u003e\u003cbr/\u003e\n\n【mac用户可以直接下载go-clipimg.dmg安装使用。】\n\n有什么价值？\n----\n1、快速切割图片的核心部分，并自定义尺寸和边距形成新的图片   \n2、常用于电商平台的图片批量处理。    \n3、比其他golang的界面UI生成的应用要小很多。\n4、可作为Qt与golang混编的参考案例。 \n\nso ^_^ 求赐star !!!!!!!   \n\n编译环境\n----\nmac pro\nQt Creator 4.41 （本项目使用此软件编辑代码）\ngolang 编译文件：PPGo_ClipImg（编译过程详见 https://github.com/george518/PPGo_ClipImg）\nDMGhelp工具 用于添加图标\n\n安装使用    \n----\n1、下载\n```qt\ngit clone github.com/george518/GO_ClipImg \n```\n2、编译qt\n```shell\ncd GO-ClipImg\nqmake GO-ClipImg.pro -spec macx-clang CONFIG+=x86_64\nmake\n```\n\n3、拷贝golang 编译文件：PPGo_ClipImg到GO-ClipImg/Contents/MacOS/下。\n\n4、获取需要依赖的QT包\n```shell\nGO-ClipImg otool -L ./GO-ClipImg.app/Contents/MacOS/GO-ClipImg \n```\n\n5、将4中显示的文件拷贝到Contents/Frameworks中\n\n6、打包编译Qt\n```shell\n/Applications/Qt/5.9.2/clang_64/bin/macdeployqt  ./GO-ClipImg.app \n```\n\n7、在app包上右键单击进入显示简介，将logo.icns图标进去\n\n8、使用DMGhelp工具，打包成dmg包（可以找我要工具）\n\n9、生成的go-clipimg.dmg包点击显示简介，将logo.icns图标进去 \n\n至此，生成的mac版的安装包 go-clipimg.dmg 就可以使用了……\n\n联系我\n----\nqq:41352963    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge518%2Fgo-clipimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorge518%2Fgo-clipimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge518%2Fgo-clipimg/lists"}