{"id":40184700,"url":"https://github.com/shmbatom/Comfyui-ImageAB-Compare","last_synced_at":"2026-02-07T20:00:37.340Z","repository":{"id":331708013,"uuid":"1128099894","full_name":"shmbatom/Comfyui-ImageAB-Compare","owner":"shmbatom","description":"A fully functional ComfyUI node plugin that supports image segmentation and comparison in both horizontal and vertical directions, real-time interaction and adjustment of segmentation ratios via mouse, bidirectional linkage between slider and mouse, and the ability to export comparison images with precise segmentation lines.","archived":false,"fork":false,"pushed_at":"2026-01-05T12:16:23.000Z","size":5235,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T06:48:57.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/shmbatom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2026-01-05T06:20:05.000Z","updated_at":"2026-01-05T12:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shmbatom/Comfyui-ImageAB-Compare","commit_stats":null,"previous_names":["shmbatom/comfyui-imageab-compare"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shmbatom/Comfyui-ImageAB-Compare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmbatom%2FComfyui-ImageAB-Compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmbatom%2FComfyui-ImageAB-Compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmbatom%2FComfyui-ImageAB-Compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmbatom%2FComfyui-ImageAB-Compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shmbatom","download_url":"https://codeload.github.com/shmbatom/Comfyui-ImageAB-Compare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmbatom%2FComfyui-ImageAB-Compare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29206798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-19T19:00:25.875Z","updated_at":"2026-02-07T20:00:37.335Z","avatar_url":"https://github.com/shmbatom.png","language":"JavaScript","funding_links":[],"categories":["Workflows (3998) sorted by GitHub Stars"],"sub_categories":[],"readme":"\n\u003cfont face=\"微软雅黑\" size=\"4\" color=\"#f0f000\"\u003eComfyui-ImageAB-Compare - the comfyui plugin of comparing two images\u003c/font\u003e\n\nimage split comparison horizontally/vertically, real-time mouse interaction to adjust split ratios, bidirectional linkage between slider and mouse, and the ability to export comparison images with precise split lines.\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eI. Functional Features\u003c/b\u003e\u003c/div\u003e\n\n  ✅ Dual-mode segmentation comparison: Supports both vertical (left-right) and horizontal (top-bottom) segmentation directions\n\n  ✅ Real-time interactive adjustment: Precise control of segmentation line position with mouse movement\n\n  ✅ Exportable segmentation image: This is an optional parameter, allowing for output preview or saving of the image. The segmentation ratio is set through \"split_ratio_when_output\"\n![before_run][def3]\n\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eII. Installation method\u003c/b\u003e\u003c/div\u003e\n\nMethod 1: Manual Installation (Recommended) \n\n   (1) cd Comfy\\custom_nodes;\n\n   (2) git clone https://github.com/shmbatom/Comfyui-ImageAB-Compare.git ;\n\n   (3) Restart the ComfyUI Service.\n\nMethod 2: Installation via Manager \n\n   (1) Search  for Comfyui-ImageAB-Compare in the ComfyUI Manager and install\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eIII. How to Use\u003c/b\u003e\u003c/div\u003e\n\n✅1. Basic usage\n\n   (1) In the ComfyUI editor, double-click to search for \"abc\", locate the \"ImageABCompareSee\" node, and click it to insert it into the ComfyUI editor, or drag the following image into the page;\n   ![before_run][def2]\n\n   (2) Connect the two images that need to be compared to the ImageA and ImageB input ports;\n\n    Note: ImageA can be downloaded the file named \"custom_nodes\\Comfyui-ImageAB-Compare\\images\\girl.png\".\n\n   (3) Run to the \"ImageABCompareSee\" node to see the real-time comparison preview within the node;\n\n   (4) Mouse movement on the preview area of the node, and the dividing line will be adjusted in real-time according to the mouse position, facilitating real-time comparison and viewing of the differences between the two images;\n\n   (5) Switch direction: Select \"vertical\" (left-right) / \"horizontal\" (top-bottom) from the dropdown box.\n\n✅2. Export a comparison image with a specified split ratio\n\n   (1) Precise adjustment: Precisely control the split position through the \"split_ratio_when_output\" slider (0.0-1.0) ;\n\n   (2) Connect the \"Image_output\" port of the node to the \"Save Image\" node and save it in \"Comfy\\output\" (with the same size as ImageA);\n\n   (3) Connect the \"Image_output\" port of the node to the \"Preview Image\" node to view without saving.\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eIV. Directory Structure\u003c/b\u003e\u003c/div\u003e\n\n![this_structure][def4]\n\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eV. Compatibility\u003c/b\u003e\u003c/div\u003e\n\nTo be adapted: ComfyUI-nodes2.0\n\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eVI. Update Log\u003c/b\u003e\u003c/div\u003e\n\nv1.0.0 2026/1/5 Initial version, supporting basic image AB comparison function\n\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eVII. License\u003c/b\u003e\u003c/div\u003e\n\nThis plugin is open-sourced under the MIT License, allowing free modification, distribution, and commercial use, as long as the original author's information is retained.\n\n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eVIII. Feedback and Suggestions\u003c/b\u003e\u003c/div\u003e\n\nIf you encounter any issues or have suggestions for features, please contact QQ2540968810 or\n\nGitHub Issues (recommended) https://github.com/shmbatom/Comfyui-ImageAB-Compare/issues\n \n\n\u003cdiv style=\"font-size: 20px;\"\u003e\u003cb\u003eIX. Donation\u003c/b\u003e\u003c/div\u003e\nIf you think this tool is decent, you can donate a cup of coffee to me.\n\n![donate_me][def9]\n\n[def1]: images/girl.png\n[def2]: images/after_run.png\n[def3]: images/before_run.png\n[def4]: images/structure.png\n[def9]: images/donate.png\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmbatom%2FComfyui-ImageAB-Compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshmbatom%2FComfyui-ImageAB-Compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmbatom%2FComfyui-ImageAB-Compare/lists"}