{"id":28939261,"url":"https://github.com/shanleiguang/vyinn","last_synced_at":"2026-01-21T13:25:18.736Z","repository":{"id":299943715,"uuid":"1004687535","full_name":"shanleiguang/vYinn","owner":"shanleiguang","description":"中文古籍印章製作工具 Chinese Ancient Seals Design Tool ","archived":false,"fork":false,"pushed_at":"2025-09-04T01:17:04.000Z","size":35987,"stargazers_count":594,"open_issues_count":0,"forks_count":47,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-19T22:46:35.547Z","etag":null,"topics":["ancient-books","chinese","chinese-characters","chinese-traditional","design","design-tools","seal"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/shanleiguang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"shanleiguang","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-06-19T03:04:32.000Z","updated_at":"2026-01-19T13:55:55.000Z","dependencies_parsed_at":"2025-06-19T04:25:57.156Z","dependency_job_id":"85ab0830-ed5d-43e1-9b4f-3db1908b2902","html_url":"https://github.com/shanleiguang/vYinn","commit_stats":null,"previous_names":["shanleiguang/vyinn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shanleiguang/vYinn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanleiguang%2FvYinn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanleiguang%2FvYinn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanleiguang%2FvYinn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanleiguang%2FvYinn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanleiguang","download_url":"https://codeload.github.com/shanleiguang/vYinn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanleiguang%2FvYinn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28633757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ancient-books","chinese","chinese-characters","chinese-traditional","design","design-tools","seal"],"created_at":"2025-06-23T00:07:55.385Z","updated_at":"2026-01-21T13:25:18.720Z","avatar_url":"https://github.com/shanleiguang.png","language":"Perl","funding_links":["https://github.com/sponsors/shanleiguang"],"categories":[],"sub_categories":[],"readme":"\n![image](https://github.com/shanleiguang/vYinn/blob/main/images/00.png)\n\n### vYinn is 殷人\n\n- 一款中文古籍電子印章設計和製作工具。它是作者中文古籍數字復刻計劃的一部分，配合[vRain古籍刻本電子書製作工具](https://github.com/shanleiguang/vRain)能夠生成更加古香古色的古籍電子書。\n- A tool for designing and producing electronic seals for Chinese ancient books.\n\n![image](https://github.com/shanleiguang/vYinn/blob/main/images/02.png)\n\n### 更新紀錄\n\n- 2025/09，升級v1.1版本：1、為引入更多多設計和效果元素，分圖層（畫布圖層、測試圖層、印框圖層、文字圖層、斑點圖層）重寫程序；2、梳理配置參數，分為畫布、導出、測試、印框、印文、效果五類參數；3、去除測試模式這一不必要步驟，測試圖右側擴展增加效果預覽圖，測試圖存入test目錄，印章生成圖存入yins目錄，提高製作效率；，4、按照白色代表印泥、黑色代表紙張背景色的思路，優化程序中相關顏色參數，代碼邏輯更清晰；5、區分陰文、陽文定義印框框線的寬度及與文字區的間距，支持陰文外框線；6、印框和文字可單獨設置擴散效果；7、文字變形參數組增加一個“描邊”參數，正數代表加粗，-1可些微細化。\n\n### 基本功能\n\n- 簡單實用的設計排版輔助。（注意：草稿測試圖中的白色代表印泥色。）\n\n![image](https://github.com/shanleiguang/vYinn/blob/main/images/01.png)\n\n- 印文支持陰文、陽文。\n- 印框支持圓形、方形及橢圓。\n- 印泥顏色可設置。\n- 根據字體屬性，自動修正文字上下左右間距實現初步對齊。\n- 每個文字可設置單獨字體大小、座標位置、橫縱變形比例、旋轉度數。\n- 簡單的做殘、油墨、擴散效果。\n- 可生成透明底色PNG文件，方便應用。\n- 可從現有古籍印文圖片中扣取並生成新的透明底色印文圖片（y2y目錄下）。\n- 初始配置文件可自動生成，所有參數均可通過配置文件管理。\n- 采用 Perl 语言开发，需安装 Image::Magick 等模塊。\n- 作者小紅書主頁：兀雨書屋。\n\n![image](https://github.com/shanleiguang/vYinn/blob/main/images/03.png)\n\n### 使用說明\n\n- 查看 'config/blank.cfg'，瞭解畫布、印框、印文、效果四類參數的含義。\n- 查看 'yins/' 目錄下的示例及其 'config/' 目錄下對應的配置文件。\n- 使用 'new_config.pl' 腳本從 'config/blank.cfg' 初始化生成新印的 new.cfg，例如 perl new_config.pl -n 4,4 （4行4列）。\n- 使用 'vyinn.pl' 帶 '-t' 參數繪制設計側圖，查看 'yins/' 目錄下帶 'test' 後綴圖片，調整配置文件中文字坐標等參數，重新生成測試圖片直至達到預期效果。\n- 使用 'vyinn.pl' 無 '-t' 參數生成最終效果圖及應用圖（透明底色並裁切）。\n- 'y2y/' 目錄下是從現有古籍印文圖片中扣取並生成新的透明底色印文圖片的腳本。\n\n## 赞助支持 Sponsorship\n![image](https://github.com/shanleiguang/vRain/blob/main/sponsor_new.png)  \n如果您覺得本工具對您的工作或生活有些微幫助，請給予必要支持，謝謝！   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanleiguang%2Fvyinn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanleiguang%2Fvyinn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanleiguang%2Fvyinn/lists"}